U might probably be trying with IE 5 and above. Try making your 404.jsp more
than 500 kb (by putting in some gif or whatever).. and it would work.

Lemme know if it doesnt.

Rishabh.

-----Original Message-----
From: bipin_jsp [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 17, 2001 1:27 PM
To: [EMAIL PROTECTED]
Subject: Error in setting error-code in web.xml


Dear All,

I want to set when client makes request from xxx.jsp that jsp is not in our
list
then it will display the error-page.

so i set in web-xml like
<error-page>
    <error-code>404</error-code>
    <location>/404.jsp</location>
</error-page>

and place 404.jsp in our application with jsp.
sometime it works and sometime it didn't works.

anyone know how this problem can be resolve?

thanx

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to