Hi folks.

a couple of weeks ago, I asked about how to perform a "jsp:include" like
mechanism using a custom taglib.  I was told that it was possible using
the pageContext.include() method.  This works great.

I also asked about sending JSP output to a different stream.  I was told
that this is a feature of Servlet 2.3, but I could perform this type of
redirect using a body tag which would enclose the output stream.  This
also works great.

I can't seem to get these two things to play nicely together.  I would
like to be able to redirect the JSP output for the current JSP file, as
well as the JSP file which is included using pageContext.include().
The problem is that I can't seem to get the included JSP file to use the
nested stream, it always writes to the original output stream.  Am i
just being dense about this and not setting something up properly?

Thanks.

...alex...

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to