# HG changeset patch # User paulb # Date 1093806491 0 # Node ID 8283b2d7776d5c3bf01238246c1312b16f6874c3 # Parent b1a670d6512bc2ecdcf69e53d22682946ceebfb8 [project @ 2004-08-29 19:08:11 by paulb] Updated instructions for the build.py script and the deployment of Java/Jython Servlet API applications. diff -r b1a670d6512b -r 8283b2d7776d docs/JavaServlet/NOTES.txt --- a/docs/JavaServlet/NOTES.txt Sun Aug 29 19:07:24 2004 +0000 +++ b/docs/JavaServlet/NOTES.txt Sun Aug 29 19:08:11 2004 +0000 @@ -1,11 +1,12 @@ -Use the build.py script in the examples/JavaServlet directory to create a Web +Use the build.py script in the tools/JavaServlet directory to create a Web application directory. Then, deploy the directory in the servlet container. For example: -cd examples/JavaServlet -jython build.py SimpleApp.py ../Common/Simple/ ../../ \ - $CATALINA_HOME/common/lib/activation.jar \ - $CATALINA_HOME/common/lib/mail.jar +jython tools/JavaServlet/build.py examples/JavaServlet/SimpleApp.py \ + examples/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 also specifies @@ -20,4 +21,4 @@ Upon starting or restarting the servlet container, an URL such as the following can be used to visit the application: -http://localhost:8080/SimpleApp/SimpleApp.py +http://localhost:8080/SimpleApp/