You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by "Yap, Mow Ching (NOW)" <MY...@uk.now.com> on 2001/04/25 12:57:13 UTC
Can you include output of an xsp page in a jsp page.
hi,
Question: Can you include output of an xsp page in a jsp page? (Would help
to integrate xsp into an existing jsp codebase)
As in:
<jsp:include page="/xml/simple.xml" flush="true"></jsp:include>
when i try this, cocoon outputs:
java.lang.IllegalStateException: Writer is already being used for
this request
if i make the include the only line in the jsp page, it works.
if i make the include the first line then add text after, i get the xml, but
then tomcat outputs:
java.lang.IllegalStateException: OutputStream is already being used
for this request
so does anyone know how i can get tomcat and cocoon to share the same
outputstream?
tks.
mooch.
(tomcat 3.1, cocoon 1.8.2)
The information in this Internet E-mail is confidential and is intended
solely for the addressee. Access, copying or re-use of information in it by
anyone else is unauthorized. Any views or opinions presented are solely
those of the author and do not necessarily represent those of TWI, TWIi,
IMG, PCC, NOW or any of their affiliates. If you are not the intended
recipient please contact helpdesk@uk.now.com and delete this email
immediately.
---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Re: Can you include output of an xsp page in a jsp page.
Posted by Alessandro Marcellini <am...@tiscalinet.it>.
Hi,
Have you resolved your problem?
I'm facing the same problem ...
Thank's
Alessandro
"Yap, Mow Ching (NOW)" wrote:
> hi,
>
> Question: Can you include output of an xsp page in a jsp page? (Would help
> to integrate xsp into an existing jsp codebase)
>
> As in:
>
> <jsp:include page="/xml/simple.xml" flush="true"></jsp:include>
>
> when i try this, cocoon outputs:
>
> java.lang.IllegalStateException: Writer is already being used for
> this request
>
> if i make the include the only line in the jsp page, it works.
>
> if i make the include the first line then add text after, i get the xml, but
> then tomcat outputs:
>
> java.lang.IllegalStateException: OutputStream is already being used
> for this request
>
> so does anyone know how i can get tomcat and cocoon to share the same
> outputstream?
>
> tks.
> mooch.
> (tomcat 3.1, cocoon 1.8.2)
>
> The information in this Internet E-mail is confidential and is intended
> solely for the addressee. Access, copying or re-use of information in it by
> anyone else is unauthorized. Any views or opinions presented are solely
> those of the author and do not necessarily represent those of TWI, TWIi,
> IMG, PCC, NOW or any of their affiliates. If you are not the intended
> recipient please contact helpdesk@uk.now.com and delete this email
> immediately.
>
> ---------------------------------------------------------------------
> 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: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@xml.apache.org>
---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>