Hi All,

I may have found a bug in Tiles and exception handling when using the
controllerUrl attribute within the tiles definition (fyi:xml format). 

In my case the controllerUrl points to a TilesAction subclass that
collects some business data. The problem is thus; if it encounters an
error, then in certain cases I want to present my default error page.
The general structure I have for this is that the Action method rethrows
the exception. Then in my struts-config.xml I have a global exception
handler that forwards to my error page. The forward is to in fact
another tiles definition that represents my error page; here lies the
problem. If the forward is to a straight jsp page, it works. If the
forward is to a second tiles definition, the orginal defintion is still
loaded and the exception is lost! I have checked the DEBUG trace and it
seems that the orginal tiles defintion (before the error) is loaded
twice, instead of the error definition. 

Help!


Paul Watson 
IT Consultant - ObjectLAB sagl
[EMAIL PROTECTED]




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

Reply via email to