This has nothing to do with JBoss and a purely J2EE Configuration. refer to
for a <error-page> tag that indicates what kind of errors should go where. for e.g. if i have a custom 404 page in the root of my war, i wud have an entry in web.xml as
<error-page> <error-code>404</error-code> <location>/custom-404.jsp</location> </error-page>
Thank u very much
Another help is needed..
Is there a way to catch the typed errornous url within the redirected error page
I had put
into web.xml .
But when I visited a not exists page.
It displayed HTTP 404 Error,did not display my custom-404.jsp .
May be path to customize 404 error page cannot be recognized by the server. Rechecked the path and the page