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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to