This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Exception handling in struts tiles

 
Chris Kairns
Greenhorn
Posts: 6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 544
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic