August 2003
Intermediate to advanced
736 pages
14h 14m
English
Topics in This Chapter
Understanding the benefits of MVC
Using RequestDispatcher to implement MVC
Forwarding requests from servlets to JSP pages
Handling relative URLs
Choosing among different display options
Comparing data-sharing strategies
Forwarding requests from JSP pages
Including pages instead of forwarding to them
Servlets are good at data processing: reading and checking data, communicating with databases, invoking business logic, and so on. JSP pages are good at presentation: building HTML to represent the results of requests. This chapter describes how to combine servlets and JSP pages to best make use of the strengths of each technology.
Read now
Unlock full access