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

kmasood do-not-reply at jboss.com
Mon Oct 5 12:18:10 EDT 2009


I've added this line in  server/xxx/deploy/jboss-web.deployer/conf/web.xml:

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

and added the 404.html file in ROOT.war, with partial success. 

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

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

What might be causing the blank page? I don't see anything unusual in the log files ... hmm ... /-:

KM

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

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



More information about the jboss-user mailing list