This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund 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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Frameworks » Struts
Reply 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: 75
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?
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Displaying a Default Error page
 
Similar Threads
Problem configuring Error Page
problem while declaring error page
Exception Management in a web applications
pageContext.exception is not executing
Error-Code Tag of web.xml 2.4 not working