my dog learned polymorphism*
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 Murach's Java Servlets and JSP this week in the Servlets 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?
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Displaying a Default Error page
Similar Threads
Error-Code Tag of web.xml 2.4 not working
Problem configuring Error Page
problem while declaring error page
Exception Management in a web applications
pageContext.exception is not executing