tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <Chuck.Caldar...@unisys.com>
Subject RE: tomcat inserts leading / on include file
Date Sat, 02 Dec 2006 02:01:42 GMT
> From: IT Desk [mailto:ask@dataeffects.com] 
> Subject: Re: tomcat inserts leading / on include file
> 
> I tried a few things and the only thing that worked was as below.

What should also work is removing the context entry from inside the
<Host> element, and placing a cut down version in META-INF/context.xml
of your webapp:

    <Context debug="5" privileged="true"/>

(You could also place the above in conf/[engine]/[host]/ROOT.xml if you
wish.)

The advantage of keeping it out of server.xml is that you can change the
attributes such as debug without having to restart Tomcat.

 - 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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message