[
https://issues.apache.org/jira/browse/TILES-418?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13255624#comment-13255624
]
Viktor Hedefalk commented on TILES-418:
---------------------------------------
I get the same problem with Spring 3.1.1 and tiles 2.2.2 so I don't think it
really has anything to do with Struts? I'll attach my stack-loop.
> Infinite loop in rendering when including result of another action/servlet
> --------------------------------------------------------------------------
>
> Key: TILES-418
> URL: https://issues.apache.org/jira/browse/TILES-418
> Project: Tiles
> Issue Type: Bug
> Components: tiles-servlet
> Affects Versions: 2.1.2
> Environment: Tomcat 6, osx, java5
> Reporter: Alvin Singh
> Priority: Blocker
> Attachments: stacktrace.log.rtf.zip, struts2-tiles-test.zip
>
>
> An infinite loop occurs resulting in a stack overflow when you try an include
> the results of another action/servlet where both results are of a tiles type.
> I have included an eclipse project which shows this - just deploy via WTP for
> quick testing. More info below.
> Index.jsp which is a tiles definition -
> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
> <head>
> <title>Index</title>
> <s:head />
> </head>
> <body>
> Test index
> <s:action name="helloWorld" executeResult="true" /> <------------
> CAUSES PROBLEM
> </body>
> </html>
> The s:action tag causes an infinite loop to occur. Note that replacing the
> s:action tag with c:import or jsp:include gives the same results so it is not
> the tag itself. This works fine with tile 2.0.X. Stacktrace and project code
> is attached.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira