mvc
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
mvc [2007/10/18 15:24] – roumani | mvc [2008/08/29 19:09] (current) – roumani | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== MVC ====== | ====== MVC ====== | ||
- | This lecture covers the MVC design pattern for web applications in the context of a mini-project. | + | This lecture covers the MVC design pattern for web applications in the context of a mini-project. |
===== Outline ===== | ===== Outline ===== | ||
Line 10: | Line 9: | ||
* State can be captured using the session object. Its API allows us to detect the start of new sessions. | * 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 is best packaged as a Java package. | ||
- | * The model uses beans and POJOs. | + | * The model uses beans and POJOs. |
+ | * The servlet' | ||
+ | * Jasper translates a JSP page to a servlet upon receiving the first reference to it (typically from a servlet forward). | ||
+ | * Jasper allows us to embed three things in the JSP page in addition to template (e.g. HTML) code: Expression Language EL, Directives, and Actions. These will be evaluated by Jasper and their values are served as part of the response. | ||
+ | * EL uses a number of built-in, implicit objects. | ||
+ | * Actions are either standard (JSTL) or custom. | ||
+ | |||
Line 16: | Line 22: | ||
* Read the rest of Chapter 6. | * Read the rest of Chapter 6. | ||
- | * Do Lab 4. | + | |
+ | * Look at '' | ||
+ | | ||
===== Slides from Lecture ===== | ===== Slides from Lecture ===== | ||
- | {{flash>/ | + | {{: |
mvc.1192721076.txt.gz · Last modified: 2007/10/18 15:24 by roumani