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=5868>. 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=5868 <jsp:include> and RequestDispatcher output is wrong. [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID ------- Additional Comments From [EMAIL PROTECTED] 2002-01-15 14:40 ------- Calling out.flush() works for me, i.e.: ----- main.jsp ----- FIRST:<br> <jsp:include page="first.jsp" flush="true"/><br> SECOND:<br> <% out.flush(); ServletContext rootContext = config.getServletContext().getContext( "/" ); RequestDispatcher rd = rootContext.getRequestDispatcher( "/second.jsp" ); rd.include( request, response ); %> ----- JSP's use a local buffer. JSP 1.1 requires flush="true" so that this buffer is flushed prior to including first.jsp. You must use out.flush() prior to calling the RequestDispatcher to accomplish the same thing for second.jsp. I assume you put the out.flush() in the same location I did. I don't know why it didn't work for you. I'm resolving as INVALID since the indicated behavior for the supplied test case is the expected behavior. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>