dcsimg
Error pages
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   joro_simeonov
Posted On:   Monday, February 4, 2002 12:26 AM

Hallo there i have a tomcat 3.2 and i try to set an error page which should be shown when file is not found - error 404 in webapps/conf/web.xml i put 404 /error.html ................ error.html is /webapps/error.html i expect this one to work but it doesnt :((. am i wrong somewhere ? another question - can i make the errorpage be a servlet which can get the uncaught Exception and do something with it - lets say printStackTrace() but with mu custom layout ? - is it possible 10x in advance bye    More>>

Hallo there



i have a tomcat 3.2 and i try to set an error page which should be shown when file is not found - error 404



in webapps/conf/web.xml i put











404





/error.html





................




error.html is /webapps/error.html



i expect this one to work but it doesnt :((. am i wrong somewhere ?



another question - can i make the errorpage be a servlet which can get the uncaught Exception and do something with it - lets say printStackTrace() but with mu custom layout ? - is it possible


10x in advance
bye

   <<Less
About | Sitemap | Contact