Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

How to handle exceptions thrown by application with another servlet?


<error-page>
	<error-code>404</error-code>
    <location>/AppExceptionHandler</location>
</error-page>
   
<error-page>
  	<exception-type>javax.servlet.ServletException</exception-type>
  	<location>/AppExceptionHandler</location>
</error-page>
Source by www.journaldev.com #
 
PREVIOUS NEXT
Tagged: #How #handle #exceptions #thrown #application
ADD COMMENT
Topic
Name
1+3 =