tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 5598] New: - (JSP Problem) RequestDispatcher doesn't include HTML output in place
Date Thu, 27 Dec 2001 21:59:54 GMT
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=5598>.
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=5598

(JSP Problem) RequestDispatcher doesn't include HTML output in place

           Summary: (JSP Problem) RequestDispatcher doesn't include HTML
                    output in place
           Product: Tomcat 4
           Version: 4.0.1 Final
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: Unknown
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: rigel.heung@gs.com


I don't know if this is a Jasper or Catalina problem. For some reason, when I 
try to include the output from another JSP using RequestDispatcher object, the 
output doesn't fall into correct place. 

The keyword "-Between-" should be rendered between "A" and "B" inside the table 
cell tag, but it was rendered all the way to the top of the HTML output. The 
same codes work fine under WebLogic 5.1(SP9) or above. The following is the 
sample codes to generate this problem:

----- [x.jsp] -----

<TABLE>
  <TR>
    <TD>
    A
    <%
      RequestDispatcher rd = request.getRequestDispatcher("/y.jsp");
      rd.include(request, response);
    %>
    B
    </TD>
  </TR>
</TABLE>

----- [y.jsp] -----

-Between-

----- [HTML source from browser after x.jsp has been accessed] -----

-Between-
<TABLE>
	<TR>
		<TD>
		A
		
		B
		</TD>
	</TR>
</TABLE>

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message