> From: OConchubhair, Andoni [mailto:[EMAIL PROTECTED] 
> Subject: RE: tomcat context
> 
> <context path="<last_bit_of_URL>" 
> docBase="<name_of_war_or_folder>" ...
>       <!-- Other stuff if necessary! -->
> </context>

Several problems with the above:

1) It's <Context>, not <context> - this is case sensitive.

2) The path attribute is ignored unless the <Context> element is in
server.xml, which is strongly discouraged for Tomcat 5 and above.

3) The docBase attribute is ignored unless the <Context> element is in
server.xml or in conf/Catalina/[host]/[appname].xml, and even then must
not be specified unless the webapp is placed outside of the <Host>
appBase directory.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to