This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 | 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 » Products » JBoss/WildFly
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://aspose.com/file-tools
 
subject: exception-type ignored in web.xml
 
Similar Threads
error-page element in web.xml
How to handle JSP exceptions declaratively
handling servlet exception gracefully
response.sendError & error-page
error code 500 and java.lang exceptions in WebSphere