[ https://issues.apache.org/struts/browse/STR-2558?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul Benedict closed STR-2558. ------------------------------ Resolution: Fixed Fix Version/s: 1.3.5 Assignee: (was: Struts Developers) PerformForward includes the enhancement suggested. > [tiles/chain] Can't use an action path in a tiles:insert > -------------------------------------------------------- > > Key: STR-2558 > URL: https://issues.apache.org/struts/browse/STR-2558 > Project: Struts 1 > Issue Type: Improvement > Components: Core > Affects Versions: Nightly Build > Environment: Operating System: other > Platform: Other > Reporter: Joe Germuska > Priority: Minor > Fix For: 1.3.5 > > > 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 ... -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.