<error-Page>
<-! specified exception type. ->
<Exception-type> java.lang.ArrayIndexOutOfBoundsException </ Exception-type>
<-! Position indicate the error path ->
<LOCATION> /error.html </ LOCATION>
</ error-Page>
<error -page>
<-! specified exception code (404, 500, etc.) ->
<error-code> 404 </ error-code>
<-! indicate the error path position ->
<lOCATION> /404.html </ LOCATION>
</ error-Page>
<-error Page>
<error-code> 500 </ error-code>
<LOCATION> /500.html </ LOCATION>
</ error-Page>
JSP and Servlet Exception Handling forwarding
Guess you like
Origin www.cnblogs.com/zxx7777777/p/11490834.html
Recommended
Ranking