Version: JBoss4.0.5GA
I'm using static HTML error pages for redirecting any errors to a customized error
page. For some reason, the JBoss is not redirecting to the static pages, rather showing
the default HTTP error message. Also, I'm using BASIC authentication, instead of FORM
based authentication.
The following code is part of my web.xml file.
<login-config>
<auth-method>BASIC</auth-method>
<realm-name>backoffice</realm-name>
</login-config>
<!-- static error HTML pages -->
<!-- HTML errors: 400,401,403,404,408,500,503,505,508 -->
<!-- start here -->
<error-page>
<error-code> 404 </error-code>
/error/error404.html
</error-page>
<error-page>
<error-code> 401 </error-code>
/error/error401.jsp
</error-page>
<error-page>
<error-code> 400 </error-code>
/error/error400.html
</error-page>
<error-code> 500 </error-code>
/error/error500.html
</error-page>
<error-page>
<error-code> 505 </error-code>
/error/error505.html
</error-page>
<!-- end here -->
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
</web-app>
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4134668#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...