For this project you must reorganize the program you developed for Project VI
so that it is a servlet. Use the servlet you downloaded in class as a template.
The Java program and bean used in Project VI become the servlet code and
bean for the new servlet. The JSP page generated for Project VI remains virtually unchanged.
Develop project VII in your Tomcat Project directory structure.
Remember to compile the servlet and to deploy it using your manager.
Remember to include the following in a file in your home
directory called PROFILE and to execute the commands
sh
. PROFILE
whenever you login to ocelot. Thereafter remain in the Bash shell for
compilations of your Bean and servlet.
JAVA_HOME=/depot/J2SE-1.5
TOM_HOME=/home/ocelot/aul-user-web/apache-tomcat-5.5.17
CLASSPATH=$CLASSPATH:$TOM_HOME/common/lib/servlet-api.jar:
CLASSPATH=$CLASSPATH:$HOME/cgs4854/webapps/ROOT/WEB-INF/classes
CLASSPATH=$CLASSPATH:$HOME/cgs4854/webapps/Project/WEB-INF/classes
export CLASSPATH JAVA_HOME TOM_HOME
Your project should be run on ocelot.aul.fiu.edu.
The project should be completed by November 12rd, 2009.
You should submit a hard copy listing of your HTML/Java programs in your servlet.