On Wed, 14 Aug 2002, Ralph Einfeldt wrote:

> Date: Wed, 14 Aug 2002 08:05:26 +0200
> From: Ralph Einfeldt <[EMAIL PROTECTED]>
> Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
> To: Tomcat Users List <[EMAIL PROTECTED]>
> Subject: AW: tomcat4.0.4 and Servlet Specification 2.3 and JSp1.2
>
> Even if it is supported you have no garantee
> that this will work. If the included page
> writes more content than the buffer size for
> the out stream is, you will get the same exception.
>

Support for <jsp:include ... flush="false"/> is required for all JSP 1.2
containers, including Tomcat 4.x.

Your point about exceeding the buffer size is correct, however ... you
should be making choices about whether to forward early in the page (or,
better, in Java code managed by an MVC framework like Struts
<http://jakarta.apache.org/struts>).

Craig


> > -----Ursprüngliche Nachricht-----
> > Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> > Gesendet: Dienstag, 13. August 2002 20:34
> > An: Tomcat Users List
> > Betreff: Re: tomcat4.0.4 and Servlet Specification 2.3 and JSp1.2
> >
> > I don't think the flush= false is supported as yet.
>
> <snip/>
>
> > Does tomcat4.0.4 follow servlet specifications 2.3 and
> > jsp 1.2 if yes then can some one explain the following
> > as per these specification
> >  <jsp:include page="common.jsp" flush="true" />
> >  <% if (someCondition) { %>
> >    <jsp:forward page="another.jsp" />
> >  <% } %>
> >
> >  the above code will give error, but if u make the
> >  flush value="false", it must work, and not give
> >  error.???
> >  but when i tried it in jsp it gives my illleagal
> >  state  error, saying cannot forward after sumbitting
> >  response.
>
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>


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

Reply via email to