[jboss-user] [Beginners Corner] - Re: How can i change the default 404 error page
PeterJ
do-not-reply at jboss.com
Wed Aug 15 19:04:40 EDT 2007
Add the following to your web.xml file:
<error-page>
| <error-code>404</error-code>
| <location>/yourErrorPage.html</location>
| </error-page>
Of course, yourErrorPage.html must be part of your application.
If you want it globally used, try adding the above to server/default/deploy/jbossweb-tomcat55.sar/conf/web.xml
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4074616#4074616
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4074616
More information about the jboss-user
mailing list