File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes How to handle exceptions occured in tiles in struts 1.2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "How to handle exceptions occured in tiles in struts 1.2" Watch "How to handle exceptions occured in tiles in struts 1.2" New topic
Author

How to handle exceptions occured in tiles in struts 1.2

Mohit Kumar Tayal
Greenhorn

Joined: Aug 27, 2008
Posts: 29
Hello,

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
 
 
subject: How to handle exceptions occured in tiles in struts 1.2