September 2002
Intermediate to advanced
608 pages
14h 20m
English
JavaServer Pages are unlike any of the examples we've looked at before in that they aren't compiled until they are deployed. So we don't have a build.xml for this example. Our scriptlet does need the various components that went into the layered version of the application, and we'll leverage off the installation of ServletTwo. To test our scriptlet example, do the following:
1. |
Build and install ServletTwo as described in Chapter 5.
|
2. |
Copy the file FavoriteTeamScriptlet.jsp into the context directory of the servlet. With Tomcat, for example, this would place the JSP at the path <TOMCAT_HOME>/webapps/nfl/FavoriteTeamScriptlet.jsp.
|
3. | Start the servlet container, if it's not already running. ... |
Read now
Unlock full access