https://issues.apache.org/bugzilla/show_bug.cgi?id=50161

--- Comment #6 from Mark Thomas <ma...@apache.org> 2010-10-27 21:30:44 EDT ---
(In reply to comment #4)
> The issue at hand is what the return value of
> HttpServletRequest.getServletPath() should be when the Servlet (or in our case
> Filter) processes the request.
> 
> Shouldn't that method (per the javadocs) "Returns the part of this request's
> URL that calls the servlet" ... w/o having additional (implicit) values tacked
> on to the end?

There are a couple of ambiguities in the spec in this area:
- It isn't clear if filter mapping occurs before or after welcome file
processing. The implication is that filter mapping is after welcome file
processing.
- It isn't clear if the welcome file should be included in getServletPath()
etc. The implication is that it should.

Both of these issues - and a bunch of others - are on my list of things to nag
the EG about.

The option(s) that get added for the next 7.0.x release should fix this for you
- or at least enable you to work around it.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to