Re: Servlet mapping, welcome file and trailing slashes

2010-03-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gregg, On 3/5/2010 7:56 PM, GreggCarrier wrote: > I'm having a frustrating problem and I can't find the right configuration for > what I want. Hoping someone can offer some insight. > > Desired behavior: I want all requests to my webapp to be handled

Re: Servlet mapping, welcome file and trailing slashes

2010-03-06 Thread Konstantin Kolinko
2010/3/6 Pid : > Maybe one of the devs can confirm whether it's the DefaultServlet which > handles the redirect/forward/whatever from /dir to the trailing slash > variant /dir/?  (I couldn't work it out from a quick look in SVN) > I think that is o.a.tomcat.util.http.mapper.Mapper#internalMapWrapp

Re: Servlet mapping, welcome file and trailing slashes

2010-03-06 Thread Pid
On 06/03/2010 00:56, GreggCarrier wrote: I'm having a frustrating problem and I can't find the right configuration for what I want. Hoping someone can offer some insight. Desired behavior: I want all requests to my webapp to be handled by one servlet except requests for index.jsp or the root of

RE: Servlet mapping, welcome file and trailing slashes

2010-03-05 Thread Caldarale, Charles R
> From: GreggCarrier [mailto:greggcarr...@gmail.com] > Subject: Servlet mapping, welcome file and trailing slashes > > 2 - > Jersey Spring Web Application > /* > > > > index.jsp > Not sure if this will work, but try

Re: Servlet mapping, welcome file and trailing slashes

2010-03-05 Thread Donn Aiken
Gregg - Any chance you could do this in two steps? Could you implement a filter on the url pattern /* . If the request uri is for something in the root, chain it through. If it is not, forward it to the required servlet? Just a thought. DJ On 3/5/10, GreggCarrier wrote: > > I'm having a fr

Servlet mapping, welcome file and trailing slashes

2010-03-05 Thread GreggCarrier
I'm having a frustrating problem and I can't find the right configuration for what I want. Hoping someone can offer some insight. Desired behavior: I want all requests to my webapp to be handled by one servlet except requests for index.jsp or the root of the webapp. I do not want trailing slashes