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 Displaying a Default Error page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Displaying a Default Error page" Watch "Displaying a Default Error page" New topic
Author

Displaying a Default Error page

Ally Cavs
Ranch Hand

Joined: Aug 25, 2008
Posts: 89
Hi

in my Web.xml i normally have


But since im using Struts 2 only the error 404 works
What do I need to do if a Exception is thrown and I wont a generic error page to show up
Do I need to change the struts.xml?
 
 
subject: Displaying a Default Error page