error-page tag not working

Hi

I want to forward my all responses to erros.jsp when 404 error occurs.

The following lines are i have included in my applications web.xml

<error-page>

<error-code>404</error-code>

<location>/errors.jsp</location>

</error-page>

But its not working for me;Always it displaying HTTP 404 error instead of errors.jsp.

Can any one know solution for this type of problem.?

Thanks for your help in advance.

[500 byte] By [smile4ua] at [2007-10-3 9:19:04]
# 1
Hai,i think u have to specify <exception-type> also like java.lang.string
gayathri_1982a at 2007-7-15 4:32:13 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...