![]() |
![]() Fall Semester 2009 |
Things we have done so far:
ps -ef | grep dgerman
$CATALINA_HOME/bin/shutdown.sh
$CATALINA_HOME/bin/startup.sh
index.html in it.
.jsp is to be placed and how it should be accessed.
$CATALINA_HOME/conf/tomcat-users.xml sdo we can run Tomcat Manager
All of these are explained in (and we followed from) chapter 17 in the .pdf text for this class.
Now we want to start developing servlets for purposes previously pursued by Homework Two, Four, Five and Six.
Here's a reminder of the progression in complexity for the concepts/programs we followed.
Here are the links to the Flag Quiz lab development exercises:
Here are the notes for building the Flag Quiz as a servlet.
The Flag Quiz in DHTML/Javascript for Homework Six is here (just in case).
Now: writing our first servlet, deploying it, recompiling it, reloading it, converting it to JSP.
kill -9 ... on the process IDs seen with ps -ef | grep yourUsername.
$CATALINA_HOME/conf/tomcat-users.xml: you need the password for your manager role.
$CATALINA_HOME/webapps/watermelon
WEB-INF and index.html appear inside it.
classes and lib inside WEB-INF.
watermelon context through Tomcat manager, look at the URL.
classes.
web.xml in WEB-INF to deploy it. Access servlet, recompile, reload context, access servlet again.
one.jsp in ../../ relative to classes and convert it.
The rest will be added here between 10:30 and 11:00am today.