# HG changeset patch # User paulb # Date 1093785353 0 # Node ID 3ed2e49f652c38c1a1f48084272d348f09157e3d # Parent c5b686b9587155d9430bd223e84b4baa4722cd34 [project @ 2004-08-29 13:15:53 by paulb] Updated the Java/Jython Servlet notes to include required library information. diff -r c5b686b95871 -r 3ed2e49f652c docs/JavaServlet/NOTES.txt --- a/docs/JavaServlet/NOTES.txt Sun Aug 29 02:09:47 2004 +0000 +++ b/docs/JavaServlet/NOTES.txt Sun Aug 29 13:15:53 2004 +0000 @@ -3,14 +3,19 @@ example: cd examples/JavaServlet -jython build.py SimpleApp.py ../Common/Simple/ ../../ +jython build.py SimpleApp.py ../Common/Simple/ ../../ \ + $CATALINA_HOME/common/lib/activation.jar \ + $CATALINA_HOME/common/lib/mail.jar -This identifies the handler (SimpleApp.py), the application package (Simple) and -the directory where the WebStack package is found; it produces a directory -called SimpleApp in the current directory. To deploy the Web application into a -servlet container like Tomcat, a command like the following can be performed: +This identifies the handler (SimpleApp.py), the application package (Simple) +and the directory where the WebStack package is found; it also specifies +library files which must also be deployed with the application (activation.jar +and mail.jar from the Tomcat libraries in this case); it produces a directory +called SimpleApp in the current directory. To deploy the Web application into +a servlet container like Tomcat, a command like the following can be +performed: -mv SimpleApp/ /home/paulb/Software/Java/jakarta-tomcat-4.1.27/webapps/ +mv SimpleApp/ $CATALINA_HOME/webapps/ Upon starting or restarting the servlet container, an URL such as the following can be used to visit the application: