DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10842>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10842

Including an Action does not work if response had already been committed





------- Additional Comments From [EMAIL PROTECTED]  2002-07-15 22:56 -------
here's the patch posted to the mailing list:


--- RequestProcessor.java.orig  Mon Jul 15 14:26:05 2002
+++ RequestProcessor.java       Mon Jul 15 14:26:56 2002
@@ -397,7 +397,13 @@
             response.sendRedirect
                 (response.encodeRedirectURL(request.getContextPath() +
uri));
         } else {
-            doForward(uri, request, response);
+            if 
(request.getAttribute("javax.servlet.include.request_uri")
== null) {
+                doForward( uri, request, response);
+            }
+            else {
+                //The ActionServlet was included. So include the uri.
+                doInclude(uri, request, response);
+            }
         }
 
     }

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to