[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Re-deployment questions?
brettcave
do-not-reply at jboss.com
Fri Mar 20 01:48:13 EDT 2009
Yes (this is for Jboss 4.2, not sure if it is exactly the same in AS5)
This can be configured on a per-application basis.
In web.xml of the WAR, add
<error-page>
<error-code>404</error-code>
/error/404.html
</error-page>
You can do the same for each code, and there is problably a way to configure global error message.
location must start with / and / is relative to the context root of your webapp.
(So if app is deployed to /myApp/ you will need /myApp/error/404.html)
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4219701#4219701
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4219701
More information about the jboss-user
mailing list