Hi Vadim

Vadim Gritsenko writes:
 > > From: Peter Schwenke [mailto:[EMAIL PROTECTED]]
 > > 
 > > 
 > > I've had no problem with including other pages.  I've been using the
 > > old style includes - mainly because we never updated the JSPs to the
 > > XML syntax because of an old servlet runner. (I've spent the last few
 > > weeks reworking to Cocoon and that is on the list)
 > 
 > Peter,
 > 
 > IIRC, these two - <%@ include file=" " %> and <jsp:include page=" " /> -
 > have different semantics. One is compile-time, another is run-time.

You're right there.  I'd never looked into jsp:include.

That makes the problem interesting:

JSPGenerator invokes the JSPEngine which runs the JSP page and expects
to get the output back to parse it.  But when interpreting the JSP
page the JSP Engine needs to run another page - is that when the
IllegalStateException occurs (because it sees the output stream is already
being used)?  Makes sense.

                                                                ...Peter



---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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

Reply via email to