1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/docs/JavaServlet/NOTES.txt Sat Jul 03 16:50:02 2004 +0000
1.3 @@ -0,0 +1,18 @@
1.4 +Use the build.py script in the examples/JavaServlet directory to create a Web
1.5 +application directory. Then, deploy the directory in the servlet container. For
1.6 +example:
1.7 +
1.8 +cd examples/JavaServlet
1.9 +jython build.py SimpleApp.py ../Common/Simple/ ../../
1.10 +
1.11 +This identifies the handler (SimpleApp.py), the application package (Simple) and
1.12 +the directory where the WebStack package is found; it produces a directory
1.13 +called SimpleApp in the current directory. To deploy the Web application into a
1.14 +servlet container like Tomcat, a command like the following can be performed:
1.15 +
1.16 +mv SimpleApp/ /home/paulb/Software/Java/jakarta-tomcat-4.1.27/webapps/
1.17 +
1.18 +Upon starting or restarting the servlet container, an URL such as the following
1.19 +can be used to visit the application:
1.20 +
1.21 +http://localhost:8080/SimpleApp/SimpleApp.py