tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 53545] jsp:forward action to static resources causes IllegalStateException when inside classic custom tag
Date Wed, 01 Aug 2012 10:38:59 GMT

Radu Gancea <> changed:

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

--- Comment #2 from Radu Gancea <> ---
I know that. But jsp:forward action throws IllegalState only when the page is
unbuffered. If it's buffered, the buffer clears, the forwarding executes and
the rest of the page doesn't execute.

In the generated java files for classic tags there is a finally block that
calls a method that invokes getOutputStream and I think it shouldn't. If I use
SimpleTag the forward works as it should.

Quote from specs:
"And as with jsp:forward actions from one JSP page to another, the following
statement would clear the page buffer, terminate the execution of the JSP page,
and execute the servlet: 
<jsp:forward page="/servlet/MyServlet" />"

I am not writing anything inside doStartTag(), etc. 

Please reconsider. I won't open the issue again and sorry if I am too
Thank you.

You are receiving this mail because:
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message