Hi
it's possible and it working.
and also it's working on OC4J.i am using it.
here is my code of web.xml and it working on OC4J (9.0.3.0)  and also resin.
<error-page>
      <error-code>404</error-code>
      <location>/error/error.jsp</location>
</error-page>



>
> as far as I know, no
> (don't know why, simply it won't work)
> d. (on oc4j, a close relative of  orion)
>
>
> -----Messaggio originale-----
> Da: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]Per conto di Jose Mena
> Inviato: mercoledì 10 aprile 2002 13.20
> A: Orion-Interest
> Oggetto: error-page tag in web-xml question
>
>
> Hi,
> I'm trying to set an error page in one of my web applications. To do this
i
> have put this tag in the web.xml file:
> <error-page>
>         <error-code>500</error-code>
>         <location>/error.html</location>
>     </error-page>
> to catch all the 500 errors and redirect the user to an error page. It
works
> when i put a plain html page but it doesn't when i put a jsp.
> is it possible to get a jsp instead of an html file?
> thanks.
>
>
>


Reply via email to