Professional Documents
Culture Documents
Test prep
- Before
- Get your basics right
- During
- Finish reading the instructions
- Think and plan before you code
- Read the included Java Documentation
- Code carefully - do it once, do it well
- Watch your time, continuously prioritize and
adapt
- Timing and architecture matters
- When you code, think of a few steps ahead
- When you code matters as well
- After
- Review your performance
- Timing
- Basics
- Comprehension
-…
2) Model-View-Controller paradigm
- With reference to the sample, describe
interaction
- How are things structured?
- How do the various layers interact?
(5 mins - 7.50pm)
6) Displaying username
7) Improving authenticate.jsp
- logging errors, displaying them over login.jsp
- How would you do this?
- How does login.jsp retrieve it?
(5 mins - 8.35pm)
8) Logout
-
(5 mins - 8.40pm)
9) Displaying movies
- connect to datamanager
- retrieving data, looping through data
- who has trouble with html and jsp printing?
out.print("<tr>" + currentMovie …
when do you use <%= instead ?
- what does s/n correctly starting from 1 mean?
How to do it?
(5 mins - 8.45pm)
(5 mins - 9.05pm)
- DIY - addmovie.jsp
12) Setting up a servlet
- Where should your html files be?
- Where should your classes be?
- Show file directory - clear confusion that
webpages are not under web-inf
- Why does the project automatically go to
mymovies.jsp