This content has been marked as final.
Show 5 replies
-
1. Re: HTTP error 404 customisation
raja05 Sep 25, 2005 2:28 AM (in response to thanukshad)This has nothing to do with JBoss and a purely J2EE Configuration. refer to
http://java.sun.com/dtd/web-app_2_3.dtd
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>
-
2. Re: HTTP error 404 customisation
thanukshad Sep 25, 2005 11:19 PM (in response to thanukshad)Thank u very much
-
3. Re: HTTP error 404 customisation
thanukshad Sep 25, 2005 11:52 PM (in response to thanukshad)Another help is needed..
Is there a way to catch the typed errornous url within the redirected error page -
4. Re: HTTP error 404 customisation
dong3dong Oct 10, 2005 2:09 AM (in response to thanukshad)I had put
<error-page>
<error-code>404</error-code>
/custom-404.jsp
</error-page>
into web.xml .
But when I visited a not exists page.
It displayed HTTP 404 Error,did not display my custom-404.jsp .
Why ? -
5. Re: HTTP error 404 customisation
thanukshad Oct 10, 2005 2:32 AM (in response to thanukshad)May be path to customize 404 error page cannot be recognized by the server. Rechecked the path and the page