Chapter 15. Integrating Servlets and JSP: The Model View Controller (MVC) Architecture

Chapter 15. Integrating Servlets and JSP: The Model View Controller (MVC) Architecture

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.



Core Servlets and JavaServer Pages (Vol. 1.Core Technologies)
Core Servlets and Javaserver Pages: Core Technologies, Vol. 1 (2nd Edition)
ISBN: 0130092290
EAN: 2147483647
Year: 2002
Pages: 194

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net