Can one forward to a JSP (not handled by the JSPGenerator) from a custom
Generator impl, and if so, how? I have tried the source below, which
results in "java.lang.IllegalStateException: getOutputStream() has
already been called for this response"
request = (HttpRequest) ObjectModelHelper.getRequest(this.objectModel);
...
servletRequest = (HttpServletRequest) this.objectModel.get(
HttpEnvironment.HTTP_REQUEST_OBJECT);
servletResponse = (HttpServletResponse) this.objectModel.get(
HttpEnvironment.HTTP_RESPONSE_OBJECT);
...
request.getRequestDispatcher(forwardURI).forward(servletRequest,
servletResponse)
Looking through the archives seems to indicate that early last year this
was not possible...
Thanks,
--
Yuri Gadow 0x6D21BAAE
---------------------------------------------------------------------
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]>