1.1 --- a/docs/JavaServlet/NOTES.txt Sun Aug 29 02:09:47 2004 +0000
1.2 +++ b/docs/JavaServlet/NOTES.txt Sun Aug 29 13:15:53 2004 +0000
1.3 @@ -3,14 +3,19 @@
1.4 example:
1.5
1.6 cd examples/JavaServlet
1.7 -jython build.py SimpleApp.py ../Common/Simple/ ../../
1.8 +jython build.py SimpleApp.py ../Common/Simple/ ../../ \
1.9 + $CATALINA_HOME/common/lib/activation.jar \
1.10 + $CATALINA_HOME/common/lib/mail.jar
1.11
1.12 -This identifies the handler (SimpleApp.py), the application package (Simple) and
1.13 -the directory where the WebStack package is found; it produces a directory
1.14 -called SimpleApp in the current directory. To deploy the Web application into a
1.15 -servlet container like Tomcat, a command like the following can be performed:
1.16 +This identifies the handler (SimpleApp.py), the application package (Simple)
1.17 +and the directory where the WebStack package is found; it also specifies
1.18 +library files which must also be deployed with the application (activation.jar
1.19 +and mail.jar from the Tomcat libraries in this case); it produces a directory
1.20 +called SimpleApp in the current directory. To deploy the Web application into
1.21 +a servlet container like Tomcat, a command like the following can be
1.22 +performed:
1.23
1.24 -mv SimpleApp/ /home/paulb/Software/Java/jakarta-tomcat-4.1.27/webapps/
1.25 +mv SimpleApp/ $CATALINA_HOME/webapps/
1.26
1.27 Upon starting or restarting the servlet container, an URL such as the following
1.28 can be used to visit the application: