This week's book giveaway is in the Java in General forum. We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line! See this thread for details.
How to handle exceptions occured in tiles in struts 1.2
Mohit Kumar Tayal
posted 5 years ago
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.