This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes JBoss/WildFly and the fly likes exception-type ignored in web.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Products » JBoss/WildFly
Reply Bookmark "exception-type ignored in web.xml" Watch "exception-type ignored in web.xml" New topic
Author

exception-type ignored in web.xml

Bruno Collet
Ranch Hand

Joined: Jun 08, 2004
Posts: 40
Hi all,
I am trying to redirect the user to an error page in case of error. It works when using error-code but not exception-type.




For example, it will work when an error 500 occurs but not when an ordinary exception occurs. I also tried with concrete exception classes, without success.
Any help would be appreciated


Bruno Collet<br /><a href="http://www.practicalsoftwarearchitect.com" target="_blank" rel="nofollow">www.practicalsoftwarearchitect.com</a><br />- The Paradox of Software Architecture: It is easy to make a complex architecture, but it is difficult to make a simple architecture.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: exception-type ignored in web.xml
 
Similar Threads
error code 500 and java.lang exceptions in WebSphere
error-page element in web.xml
How to handle JSP exceptions declaratively
response.sendError & error-page
handling servlet exception gracefully