Status: New
Owner: ----

New issue 683 by [email protected]: RequestDispatcher do not follow the specification of Servlet 2.4
http://code.google.com/p/google-guice/issues/detail?id=683

RequestDispatcher implementation in ManagedServletPipeline class and the specification of Servlet 2.4 do not accord.

Please see line 154 and ManagedServletPipeline.java
http://code.google.com/p/google-guice/source/browse/extensions/servlet/src/com/google/inject/servlet/ManagedServletPipeline.java#154

"javax.servlet.forward.servlet_path" should be assigned the value of servlet path.
you can get it by calling HttpServletRequest#getServletPath().

When I executed GuiceServlet on Jetty server and used RequestDispatcher#forward(), I got ClassCastException and found this spec violation. Because Jetty expect that "javax.servlet.forward.servlet_path" is String value.

--
You received this message because you are subscribed to the Google Groups 
"google-guice-dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-guice-dev?hl=en.

Reply via email to