You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Ray Madigan <ra...@madigans.org> on 2002/09/20 01:50:10 UTC

JSP Help

This might not be the correct forum - but I am porting my application from
Tomcat 3 to Tomcat 4 and I am having trouble with the
requestDispatch.include ( r, r ) method.  What happens is thet the
includedjsp file gets included above the output from the parent jsp page.

The parent jsp creates the HTML <form ... > with a servlet action handler
and the include directive inserts the HTML controls that are appropriate for
the situation into the surrounding HTML form.

As the page is rendered by Tomcat 4, the HTML controls are not within the
scope of the HTML <form > and the application no longer works.

Any help would be appreciated.


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: JSP Help

Posted by "Sexton, George" <gs...@mhsoftware.com>.
The solution I found was to flush() the print writer on the included servlet
but not close it.

-----Original Message-----
From: Ray Madigan [mailto:ray@madigans.org]
Sent: 19 September, 2002 5:50 PM
To: Tomcat Users List
Subject: JSP Help


This might not be the correct forum - but I am porting my application from
Tomcat 3 to Tomcat 4 and I am having trouble with the
requestDispatch.include ( r, r ) method.  What happens is thet the
includedjsp file gets included above the output from the parent jsp page.

The parent jsp creates the HTML <form ... > with a servlet action handler
and the include directive inserts the HTML controls that are appropriate for
the situation into the surrounding HTML form.

As the page is rendered by Tomcat 4, the HTML controls are not within the
scope of the HTML <form > and the application no longer works.

Any help would be appreciated.


--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>