Revision: 1137
Author: dhanji
Date: Tue Jan 12 16:14:37 2010
Log: Fix for issue 455: Request dispatcher was not setting at attribute
which failed to properly forward to JSPs. Thanks to Eric Burke for this fix.
http://code.google.com/p/google-guice/source/detail?r=1137
Modified:
/trunk/servlet/src/com/google/inject/servlet/ManagedServletPipeline.java
=======================================
---
/trunk/servlet/src/com/google/inject/servlet/ManagedServletPipeline.java
Tue Dec 29 17:05:45 2009
+++
/trunk/servlet/src/com/google/inject/servlet/ManagedServletPipeline.java
Tue Jan 12 16:14:37 2010
@@ -173,8 +173,9 @@
/**
* A Marker constant attribute that when present in the request
indicates to Guice servlet that
* this request has been generated by a request dispatcher rather than
the servlet pipeline.
+ * In accordance with section 8.4.2 of the Servlet 2.4 specification.
*/
- public static final String REQUEST_DISPATCHER_REQUEST = "$$Guice$RDR";
+ public static final String REQUEST_DISPATCHER_REQUEST
= "javax.servlet.forward.servlet_path";
private static class RequestDispatcherRequestWrapper extends
HttpServletRequestWrapper {
private final String newRequestUri;
--
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.