Looks like my problems with SiteMesh are that some of the SiteMesh 
servlets/tags/whatever need to call getOutputStream() and the Jasper JSP engine needs 
to call getWriter() within the same dispatched request/response.

This can be fixed by changing JspWriterImpl.initOut() as so:

[code]
    protected void initOut() throws IOException {
        if (out == null) {
           try {
              out = response.getWriter();
           }
           catch (IllegalStateException e) {
              out = new java.io.OutputStreamWriter(response.getOutputStream());
           }
        }
    }
[/code]

What is the policy for changing these imported sources?

--jason

* * *

View thread online: http://jboss.org/forums/thread.jsp?forum=66&thread=13529

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to