Delving into the Tiles source has revealed that its not Struts friendly when it comes 
to dealing with exceptions.

In a Struts environment you ideally want to specify a global error handler so that any 
exception, be it Struts, JSP or application, is gracefully handled and the user is 
presented with the usual 'Sorry, an error has occured'.  However, when using Tiles 
this functionality doesnt seem possible.

Within the InsertTag class, doEndTag() method, all Exceptions are caught and reported 
by squirting a message out to the JSP writer.  This prevents any handling by the 
Struts framework and results in a nasty, user unfriendly message appearing within the 
page.

Has anyone addressed this problem?   Is there a fix in the pipeline for Tiles so that 
the error handling can be either internal to Tiles or bubbled out to the encompassing 
framework?

Regards
Richard.

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

Reply via email to