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?
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.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com