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
Just another question. Where do I have to put these file? I try in jboss/server/default
But it didn't work.
Thank you again.
What files? The yourErrorPage.html (from my example)? I already indicated that it had to be part of your application.