On Tue, 29 Jan 2002, chris brown wrote:
Date: Tue, 29 Jan 2002 10:10:41 +0100
From: chris brown [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: tomcat-user [EMAIL PROTECTED]
Subject: [TC4] Disabling JSP pages in one context only
Hello,
I'd like to disable the jsp servlet for one context only. This servlet is
declared in the global tomcat web.xml file. I'd like to disable it in one
specific context only.
However, I don't want to remove it from the global web.xml file and then
copy it to each individual webapp's web.xml (excluding the webapp in which
JSPs should be disabled). This is impratical, and furthermore reduces the
webapp's portability (as the JSP servlet maps to an implementing class built
in to Tomcat which is unlikely to be available in other deployment
environments.
If you map the *.jsp URL pattern to something else in a
servlet-mapping, you've effectively disabled JSP for that webapp ...
your settings override the container defaults.
Thanks for any suggestions,
Christopher Brown
Craig
--
To unsubscribe: mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]