This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv 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 REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "exception-type ignored in web.xml" Watch "exception-type ignored in web.xml" New topic

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="" target="_blank" rel="nofollow"></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:
subject: exception-type ignored in web.xml
jQuery in Action, 3rd edition