File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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
It's not a secret anymore!