Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to handle exceptions occured in tiles in struts 1.2
 
Similar Threads
[URGENT]Problems with Struts and Tiles
Bert Bates-Struts Sample Appliation code
Struts 2 + Ajax response handling
Urgent : How to insert an image (gif) in a tile jsp and place it in the layout jsp?
Wait page with tiles