On Oct 17, 2011, at 7:11 PM, Caldarale, Charles R wrote:
From: Nathan Potter [mailto:npot...@opendap.org]
Subject: Re: JspServlet - Unexpected behavior, possible bug...
I don't see how to do it without using a rewrite rule for
every thing in the top level collection of URL's.
You only need to have the filter invoked when the true
DefaultServlet would have been, so it would handle only otherwise
unmatched requests.
Use the <servlet-name> element rather than <url-pattern> inside the
<filter-mapping>, specifying "default" as the value. Leave the
hyrax servlet mapped to "/hyrax/*" (and possibly "/hyrax"), the
DefaultServlet at "/", the JspServlet at "*.jsp", and have the
filter adjust the path only if it's something you want hyrax to
process.
So is the idea to identify to the filter: "These are the things for
the org.apache.catalina.servlets.DefaultServlet" and then send
everything else to Hyrax? Can it be configured like that?
- 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 unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
= = =
Nathan Potter ndp at opendap.org
OPeNDAP, Inc. +1.541.231.3317
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org