This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
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

Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Displaying a Default Error page" Watch "Displaying a Default Error page" New topic

Displaying a Default Error page

Ally Cavs
Ranch Hand

Joined: Aug 25, 2008
Posts: 89

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?
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Displaying a Default Error page
It's not a secret anymore!