DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=13499>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=13499

Jasper throws an exception on an immediate pageContext.forward()

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From [EMAIL PROTECTED]  2004-03-20 09:54 -------
I have now committed an improved patch for TC4 and TC5.

You will need to be very careful that there has been absolutely no output 
before the forward. For example a page that starts

<%@ page buffer="none" %>
<% pageContext.forward("/index.jsp"; %>

will still throw an exception due to the newline output as a result of the 
first line. You would need to format the start of the jsp on a single line eg

<%@ page buffer="none" %><% pageContext.forward("/index.jsp"); %>

or use the (non-spec conformant) trimSpaces option on TC5.

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

Reply via email to