[jboss-user] [Beginners Corner] - Re: Exception handling and error in general

PeterJ do-not-reply at jboss.com
Tue Nov 25 15:14:01 EST 2008


Oh, one other though. You can have the JSP ignore the exception, and then in your web.xml place an error handler that will display an error page:

<error-page>
  |   <exception-type>java.lang.Exception</exception-type>
  |   <location>/error.html</location>
  | </error-page>

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4192266#4192266

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4192266



More information about the jboss-user mailing list