> From: Nathan Potter [mailto:npot...@opendap.org] 
> Subject: Re: JspServlet - Unexpected behavior, possible bug...

> A new feature has been added to the web application that requires
> JSP.  But because an alternative default servlet is defined, this
> disables the use of the JspServlet using the *.jsp url-pattern in
> the servlet mapping.

O.k., now I think I understand the problem: the servlet spec requires matching 
of "/*" before "*.jsp", so hyrax sees the JSP requests as well as the ones it 
should get.  But rather than try remapping the JSP servlet, perhaps something 
like the UrlRewriteFilter (http://www.tuckey.org/urlrewrite/) might be more 
appropriate.  You could set the mapping for hyrax to just "/hyrax/*" (removing 
"/*") and configure the filter to redirect or forward appropriate requests to 
the /hyrax path.  Everything else could remain unchanged.

 - 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

Reply via email to