Open GoogleCodeExporter opened 9 years ago
Original comment by sberlin
on 22 Feb 2011 at 1:45
I can confirm that this issue is present in Tomcat 7 as well. The issue is
arising in my case when I use HttpServletResponse.encodeRedirecURL(...) for a
redirect. The servlet container appends ";jsessionid=..." to the path when
cookies are disabled. I have:
serve("/home").with(HomeServlet.class);
And similarly:
"/home" returns HTTP status 200
"/home;jsessionid=..." returns HTTP status 404
When I log the request information in a filter on "/*", I get:
pathInf=null,
requestURI=/myapp/home;jsessionid=0F68C5757FC82AE5CAD909594A628839,
servletPath=/home, contextPath=/myapp
Original comment by jeff.ich...@gmail.com
on 19 May 2011 at 2:18
Using Guice 3.0, guice-servlet 3.0 I am experiencing the same problem with
Jetty (maven-jetty-plugin 6.1.26)
I achieved a very "hacky" fix by adding additional paths in my servlet module,
e.g.
server ("/home", "/home;*") .with (homeServlet.class);
However the problem does not stop there. I am using a very simple Servlet / JSP
architecture - forwarding to JSPs fails if cookies are turned off and the
jsessionid is appended. For example, forwarding to /WEB-INF/jsp/homePage.jsp
throws an exception:
"WARN:org.apache.jasper.servlet.JspServlet:PWC6117: File
"/path/to/webapp/home;NF/jsp/homePage.jsp" not foundnull"
Something really bizarre has happened to the path to the JSP...
This is a bit of a killer at the moment.
Looks similar to http://code.google.com/p/google-guice/issues/detail?id=372
Original comment by philip.j...@gmail.com
on 3 Jun 2011 at 9:41
Is this the same issue as 372? If so, please comment & I'll collapse the
issues and everyone can comment in one place.
Original comment by sberlin
on 16 Oct 2011 at 4:40
I do not believe this is the same issue as 372. This issue is related to
handling of ";" in request URIs, specifically the common case of
";jsessionid=...". 372 appears to be related to compiled jsp processing being
broken.
Original comment by jeff.ich...@gmail.com
on 17 Oct 2011 at 4:10
Original issue reported on code.google.com by
mathieu....@gmail.com
on 2 Feb 2011 at 1:25