mvc
This is an old revision of the document!
Table of Contents
MVC
This lecture covers the MVC design pattern for web applications in the context of a mini-project.
Outline
- The controller must control and dispatch by relying on the Model and forwarding to a JSP
- Tomcat provides three
Map<String,Object>
places to hold data with three levels of scope: request, session, and application. - State can be captured using the session object. Its API allows us to detect the start of new sessions.
- The model is best packaged as a Java package.
- The model uses beans and POJOs.
To Do
- Read the rest of Chapter 6.
- Do Lab 4.
Slides from Lecture
/course/4413/_media/:44jsp.swf [505,383]
mvc.1192721076.txt.gz · Last modified: 2007/10/18 15:24 by roumani