The moose likes JBoss 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
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.
 
 
subject: exception-type ignored in web.xml
 
Threads others viewed
response.sendError & error-page
How to handle JSP exceptions declaratively
error code 500 and java.lang exceptions in WebSphere
error-page element in web.xml
handling servlet exception gracefully
MyEclipse, The Clear Choice