aspose file tools*
The moose likes Struts and the fly likes Exception handling in struts tiles Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Exception handling in struts tiles" Watch "Exception handling in struts tiles" New topic
Author

Exception handling in struts tiles

Chris Kairns
Greenhorn

Joined: Dec 28, 2009
Posts: 6
Hi,


I am using version 1.1 of struts tiles in my JSP pages. But I am unable to redirect the page to an error page when an exception occurs in a tile and the stack trace gets printed in that tile section on the page. I tried all standard JSP options setting flush value on tile setting buffer size on page , but in vain. Except handling the exception programmatically, none of the options seem to work. Does anybody know how to handle exception in a tile non programmatically and redirect it to an error page?

Thank you very much !
amit punekar
Ranch Hand

Joined: May 14, 2004
Posts: 507
Hi there,
I had faced similar issue earlier ~3-4 years back. You have to handle it programmatically and redirect/forward the user to error page.
I remember I had email exchange with Cedric Dumoulin ( Author of tiles framework) back then. If I could dig it out I will post it here.

Regards,
Amoit

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Exception handling in struts tiles
 
Similar Threads
How to handle exceptions occured in tiles in struts 1.2
Struts & Tiles frame work issue
Response already committed
Tiles insert throwing a Null exception
servlet filter forward to tiles