Hello, I have added the following to web.xml
<error-page>
  |         <error-code>404</error-code>
  |         <location>/404.html</location>
  | </error-page>
  | 
but i have a few questions, and if someone could help it will be much 
appreaciated! 

were would i find /404.html on the filesystem? 
i put my custom error page in here - deploy/jbossweb-tomcat50.sar/ROOT.war/ 

and it works on the one machine, but one the other with virtualhosts it doesn't 
- does virtualhosts affect /404.html and would it be unique for every 
virtualhost?

i have implemented custom error pages on apache2 no sweat, but it proves to be 
quite a mission with tomcat, so i'm probably doing something wrong :)

thanks in advance.



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

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


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to