Thanks, my webapp has neither a META-INF directory or a context.xml
file anywhere in it's directory structure. I tried creating a META-
INF/context.xml in my webapp's root directory, but that didn't work.
I still get:
Servlet of class org.apache.catalina.servlets.SSIServlet is privileged
and cannot be loaded by this web application.
Does this mean I need to revert to putting it in my server.xml?
On Mar 17, 2008, at 3:47 PM, Caldarale, Charles R wrote:
From: Steve Major [mailto:[EMAIL PROTECTED]
Subject: Re: Help with TomCat 6.0 & SSI
Thanks very much, I believe I want an entry in my context.xml
something like:
<Context path="/myapplication" privileged="true"
docBase="/usr/local/tomcat/server/webapps/myapplication">
</Context>
No, do not put <Context> elements in server.xml; that is strongly
discouraged, and persists only for compatibility with older levels.
Your <Context> element should go into your webapp's META-INF/
context.xml
file, but without the path and docBase attributes. Your webapp should
be placed in webapps, not server/webapps (that directory doesn't exist
in Tomcat 6).
Don't forget to uncomment the <servlet-mapping> for the ssi servlet in
conf/web.xml.
- 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]
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]