craigmcc 01/09/14 13:08:01
Modified: webapps/tomcat-docs manager-howto.xml
Log:
Correct the syntax of jar: URLs that reference a local or remote web
application archive (WAR) file.
Submitted by: Jeff Turner <[EMAIL PROTECTED]>
Revision Changes Path
1.4 +5 -2 jakarta-tomcat-4.0/webapps/tomcat-docs/manager-howto.xml
Index: manager-howto.xml
===================================================================
RCS file: /home/cvs/jakarta-tomcat-4.0/webapps/tomcat-docs/manager-howto.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- manager-howto.xml 2001/09/13 15:49:15 1.3
+++ manager-howto.xml 2001/09/14 20:08:01 1.4
@@ -179,13 +179,16 @@
<source>
http://localhost:8080/manager/install?path=/foo&war=file:/path/to/foo
-http://localhost:8080/manager/install?path=/bar&war=file:/path/to/bar.war
+http://localhost:8080/manager/install?path=/bar&war=jar:file:/path/to/bar.war!/
</source>
<p>Install and start a new web application, attached to the specified context
path (which must not be in use by any other web application). The
<code>war</code> parameter specifies a URL (including the <code>file:</code>
-scheme) for either a directory or a web application archive (WAR) file.</p>
+scheme) for either a directory or a web application archive (WAR) file.
+The supported syntax for a URL referring to a WAR file is described on the
+Javadocs page for the <code>java.net.JarURLConnection</code> class. Use
+only URLs that refer to the entire WAR file.</p>
<p>If installation and startup is successful, you will receive a response
like this:</p>