• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to handle exceptions occured in tiles in struts 1.2  RSS feed

Mohit Kumar Tayal
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I am working with struts 1.2 and using tiles for seperation of display content something like header and footer and many more. Now problem is if there is some exception in tiles then that tile content is not going to be seen in jsp. It is ok but i want to show user some exception page in this case not the incomplete page. I have tried global exceptions and exception is Action tag in struts.config file but i think these handle only the exceptions thrown by the execute method in Action classes. So please help me how to handle this exception. I also have tried by putting the error-page tag in web.xml file but this is also not working.

Please help me on this.

Thank you
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!