Path Parameters - Servlet API

2011-10-11 Thread Paul Wilson
Hi there, I'm trying to understand what has changed w.r.t. Tomcat 6/7 and returning path parameters from various calls to the HTTPServletRequest methods. In particular, I'd like to understand which of the four methods:  * getServletPath  * getContextPath  * getPathInfo  * getRequestURI return

Re: Path Parameters - Servlet API

2011-10-11 Thread Konstantin Kolinko
2011/10/11 Paul Wilson paulalexwil...@gmail.com: Hi there, I'm trying to understand what has changed w.r.t. Tomcat 6/7 and returning path parameters from various calls to the HTTPServletRequest methods. In particular, I'd like to understand which of the four methods:  * getServletPath  *

Re: Path Parameters - Servlet API

2011-10-11 Thread Paul Wilson
On 11 October 2011 10:43, Konstantin Kolinko knst.koli...@gmail.com wrote: I cannot say about various versions (because it was a bug that was fixed in 6.0.33). Was the fixed made available in Tomcat 7 too? (Can't see it in the changelog). My understanding is that getServletPath and

Re: Path Parameters - Servlet API

2011-10-11 Thread Konstantin Kolinko
2011/10/11 Paul Wilson paulalexwil...@gmail.com: On 11 October 2011 10:43, Konstantin Kolinko knst.koli...@gmail.com wrote: I cannot say about various versions (because it was a bug that was fixed in 6.0.33). Was the fixed made available in Tomcat 7 too? (Can't see it in the changelog). I

Re: Path Parameters - Servlet API

2011-10-11 Thread Paul Wilson
On 11 October 2011 12:08, Konstantin Kolinko knst.koli...@gmail.com wrote: Hm... There are RequestInfoExample servlet and snoop.jsp in the sample webapp. Testing them apparently getPathInfo() still does not return path parameters. http://localhost:8080/examples/jsp/snp;x=y/snoop.jsp

Re: Path Parameters - Servlet API

2011-10-11 Thread Mark Thomas
On 11/10/2011 12:13, Paul Wilson wrote: On 11 October 2011 12:08, Konstantin Kolinko knst.koli...@gmail.com wrote: Hm... There are RequestInfoExample servlet and snoop.jsp in the sample webapp. Testing them apparently getPathInfo() still does not return path parameters.