[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Setting Default Error Pages
mduffy_lists
do-not-reply at jboss.com
Wed Jan 21 17:53:59 EST 2009
Here's the solution:
Edit the web.xml in
/opt/jboss-5.0.0.GA/server/default/deployers/jbossweb.deployer
by adding
<!-- 404 SC_NOT_FOUND -->
<error-page>
<error-code>404</error-code>
/error/error404.html
</error-page>
just after </welcome-file-list>
Then the html and supporting files (images, css, etc.) go in
/opt/jboss-5.0.0.GA/server/default/deploy/ROOT.war/error
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203815#4203815
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203815
More information about the jboss-user
mailing list