DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.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://nagoya.apache.org/bugzilla/show_bug.cgi?id=13499 Jasper throws an exception on an immediate pageContext.forward() Summary: Jasper throws an exception on an immediate pageContext.forward() Product: Tomcat 4 Version: Unknown Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: Other Component: Jasper 2 AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] For starters, I'm using Jetty, not Tomcat, and have no way to test this in Tomcat. Here's a copy of my test.jsp: --- <%@ page buffer="none" %> <% pageContext.forward("/index.jsp"; %> --- In Jetty, this results in the following: java.lang.IllegalStateException: Illegal to clear() when buffer size == 0 at org.apache.jasper.runtime.JspWriterImpl.clear(JspWriterImpl.java:184) at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:410) Since buffer="none", this seems to be a semantically correct exception, but it doesn't make any sense -- why would this combination be illegal? -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>