[jboss-user] [Beginner's Corner] - Re: custom error pages for all applications?

erasmomarciano do-not-reply at jboss.com
Tue Oct 6 05:14:38 EDT 2009

This two url are different

1)http://host:8080/blablah - returns correct 404 page

2)http://host:8080/app1/blablah - returns a blank page ..

You must put also in app1/WEB-INF/web.xml this code

  | <error-page>
  | <error-code>404</error-code>
  | /404.html
  | </error-page

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258809#4258809

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258809

More information about the jboss-user mailing list