Wait a minute. On Thursday, February 28, someone claiming to be Kurt Kurniawan wrote:
> ... all servlet files and other jar files, have to be in > /WEB-INF/CLASSES directory under your webapps. > ... > if you want to specify your directory other than this, > you have to have your servlet engine move to your E drive as well. With Tomcat 3.2, you can specify additional contexts in the file conf/server.xml and the contexts can be anywhere on your server, at minimum. I am doing this, TC 3.2 (and 3.3) on D: and the directory structure for some more webapps on E:. With Tomcat 3.3, there is the additional method of specifying contexts in files named like conf/apps-appname.xml where for a webapp called appname. The apps-examples.xml in the /conf directory is one of several provided in the distribution. I am not using v. 4, so I don't know, but I have the impression that it is using the method provided in 3.2? It's in the on-line docs under "deployment organization" or something similar. RTWM: http://jakarta.apache.org/tomcat/tomcat-4.0-doc/appdev/deployment.html http://jakarta.apache.org/tomcat/tomcat-3.3-doc/appdev/deployment.html http://jakarta.apache.org/tomcat/tomcat-3.2-doc/appdev/deployment.html The path attribute of the context tag specifies the selector portion of the URI to plug into the browser, and the docBase attribute specifies the location in the local file system. Thus, <Context path="/appname" docBase="E:/more_webapps/appname" etc. should work for locating a webapp directory structure or war file in the directory more_webapps on volume E:. I've seen some talk on this list about putting the webapp on another machine, but I wasn't paying attention. That is also mentioned in the docs. Joel Rees Alps Giken Kansai Systems Develoment Suita, Osaka -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>
