You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Paul Benedict (JIRA)" <ji...@apache.org> on 2007/08/21 04:53:34 UTC

[jira] Updated: (STR-2558) Can't use an action path in a tiles:insert with ComposableRequestProcessor

     [ https://issues.apache.org/struts/browse/STR-2558?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Benedict updated STR-2558:
-------------------------------

    Affects Version/s: 1.3.0
              Summary: Can't use an action path in a tiles:insert with ComposableRequestProcessor  (was: [tiles/chain] Can't use an action path in a tiles:insert)

> Can't use an action path in a tiles:insert with ComposableRequestProcessor
> --------------------------------------------------------------------------
>
>                 Key: STR-2558
>                 URL: https://issues.apache.org/struts/browse/STR-2558
>             Project: Struts 1
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 1.3.0, 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.