You are right, thanks.
R.
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Gary Shea
Sent: 22. februar 2001 10:14
To: Orion-Interest
Subject: RE: Error Page
Isn't web.xml described in an appendix of the Servlets spec?
Gary
Today, Randahl Fink Isaksen ([EMAIL PROTECTED]) wrote:
> Could anyone tell me where this syntax from web.xml is defined (could not
> find it in the JSP 1.2 spec - there is no complete documentation on
> web.xml):
>
> <error-page>
> <error-code>500</error-code>
> <exception-type>java.lang.Exception</exception-type>
> <location>error_500.jsp</location>
> </error-page>
>
> TIA
>
> Randahl
>
>
>
> [Randahl Fink Isaksen]
>
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Conrad Chan
> Sent: 22. februar 2001 00:32
> To: Orion-Interest
> Subject: RE: Error Page
>
>
> Or set the return status code back to 200 since I really don't see a
> reason why I would like to return 500 if my error page will be probably
> shown.
>
> Conrad
> -----Original Message-----
> From: SureTicket.com [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, February 21, 2001 1:20 PM
> To: Orion-Interest
> Subject: RE: Error Page
>
>
> To be honest i think its because of IE's friendly error messages. You
> can turn them off and try again.
>
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of [EMAIL PROTECTED]
> Sent: Wednesday, February 21, 2001 1:15 PM
> To: Orion-Interest
> Subject: Error Page
>
>
> Hello,
> I placed an error page tag in the web.xml in order to show a warning
> when any kind of error occurs.
> However, that works fine with Netscape but not with Internet
Explorer.
> Does anyone have any idea?
> The following is the error page tag that I put.
>
> <error-page>
> <error-code>500</error-code>
> <exception-type>java.lang.Exception</exception-type>
> <location>error_500.jsp</location>
> </error-page>
>
> I tried to put the whole URL in the location field, but it was of no
> use.
> Please anyone...... I really appreciate all your clues in advance.
>
>
>
> Simon
>