Prove that 403 errors are handled by web.xml <error-page>.

This commit is contained in:
Ben Alex 2005-09-08 10:20:34 +00:00
parent c7dcceb05c
commit c64a3770de
2 changed files with 11 additions and 1 deletions

View File

@ -99,6 +99,11 @@
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
<error-page>
<error-code>403</error-code>
<location>/error.html</location>
</error-page>
<taglib>
<taglib-uri>/spring</taglib-uri>
<taglib-location>/WEB-INF/spring.tld</taglib-location>

View File

@ -0,0 +1,5 @@
<html>
<title>Access denied!</title>
<h1>Access Denied</h1>
We're sorry, but you are not authorized to perform the requested operation.
</html>