DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31348>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31348

Using a tiles definition as errorPage causes infinite looping

           Summary: Using a tiles definition as errorPage causes infinite
                    looping
           Product: Struts
           Version: Nightly Build
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Tiles framework
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


When I have a jsp error within a tiles context, and forward to an action that
displays a tiles error page I see infinite looping. This looks similar to bug
1486 but I believe that it is unrelated.
Looking into the issue it seems to find the old context and tries to reinsert it
causing the error over again, on and on till the server runs out of resources. I
patched "ComponentContext getContext(ServletRequest request)" to ignore existing
context if there is a JspException in the request. I'm not really an expert on
tiles so I'm not sure if there is a better place for this. I also see room for
this functionality in a Utilities class so that other classes have a definitive
source for code to check the request for error conditions. I will attach my
patch for now and hopefully it is of use.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to