September 2002
Intermediate to advanced
608 pages
14h 20m
English
The installation of this example is identical to the process for the scriptlet example; the JSP page (FavoriteTeamBean.jsp) just needs to be installed in the context directory of our ServletTwo servlet example.
1. |
Build and install ServletTwo as described in Chapter 5.
|
2. |
Copy the file FavoriteTeamBean.jsp into the context directory of the servlet. With Tomcat, for example, this would place the JSP at the path <TOMCAT_HOME/webapps/nfl/FavoriteTeamBean.jsp.
|
3. |
Start the servlet container, if it's not already running.
|
4. |
Point your Web browser at the JSP.
|
5. |
You can specify values for the team and week parameters by appending them to the end of the URL. For example: http://localhost:8080/nfl/FavoriteTeamBean.jsp?team=Ravens&week=6 ... |
Read now
Unlock full access