Details
Description
I'm pretty sure this worked with Struts 1.2.x, although I never used it; but I
just decided to try implementing something using an action as the path of a tile.
I can probably implement my functionality using a Controller instead, but I
thought i'd file this bug, especially if this is functionality which was in an
earlier version of Struts.
This may end up being a non-issue if we are moving towards externalizing Tiles
from Struts; then again, it could be solved by changing the PerformForward
action to do a test for response.isCommitted() and always using
requestDispatcher.doInclude(req,resp) when it is. At first glance, I don't see
any reason why that would be particularly bad, no matter what is happening with
Tiles.
Any opinions?
java.lang.IllegalStateException: Cannot forward after response has been
committed at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:371)
at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:359)
at
org.apache.struts.chain.commands.servlet.PerformForward.perform(PerformForward.java:95)
at
org.apache.struts.chain.commands.AbstractPerformForward.execute(AbstractPerformForward.java:55)
at ...