> -----Original Message-----
> From: Joel Rees [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 28, 2002 5:36 AM
> To: Tomcat Users List
> Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: Re: Context addition in windows!
> 
> 
> Wait a minute.
> 
> On Thursday, February 28, someone claiming to be Kurt Kurniawan wrote:
> 

I assume you have reason to believe it may not be "Kurt Kurniawan" who sent
this message to the list? :)

> >  ... all servlet files and other jar files, have to be in
> > /WEB-INF/CLASSES directory under your webapps.
> > ...
> 

classes go into /WEB-INF/classes (note the case-sensitive name) and jars go 
into /WEB-INF/lib

> > 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]>
> 

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to