jsp
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
jsp [2008/10/21 15:28] – created roumani | jsp [2008/10/29 22:16] (current) – roumani | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== MVC ====== | ====== MVC ====== | ||
- | This lecture covers the MVC design | + | This week applies |
===== Outline ===== | ===== Outline ===== | ||
* The controller must control and dispatch by relying on the Model and forwarding to a JSP | * The controller must control and dispatch by relying on the Model and forwarding to a JSP | ||
- | * Tomcat provides three '' | + | * Tomcat provides three '' |
* 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. | ||
Line 12: | Line 12: | ||
* The servlet' | * The servlet' | ||
* Jasper translates a JSP page to a servlet upon receiving the first reference to it (typically from a servlet forward). | * 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 | + | * Jasper allows us to embed three things in the JSP page: template |
- | * EL uses a number of built-in, implicit objects. | + | * EL uses a number of built-in implicit objects. |
* Actions are either standard (JSTL) or custom. | * Actions are either standard (JSTL) or custom. | ||
- | |||
- | |||
- | |||
===== To Do ===== | ===== To Do ===== | ||
- | * Read the rest of Chapter 6. | + | |
- | * Read Chapter 8 up to Section 8.4.1 but omit 8.3.2-8.3.3. | + | |
- | * Look at '' | + | * Read Chapter 8 up to and excluding |
- | * Do [[http:// | + | * Look at the basic implementation of EVS in the //Resource Directory// under '' |
+ | * Look at '' |
jsp.1224602887.txt.gz · Last modified: 2008/10/21 15:28 by roumani