Re: error-page tag in web-xml question

2002-04-11 Thread Deniz Bocek

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-code404/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-code500/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.








error-page tag in web-xml question

2002-04-10 Thread Jose Mena

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-code500/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.






R: error-page tag in web-xml question

2002-04-10 Thread daniele rizzi


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-code500/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.






RE: error-page tag in web-xml question

2002-04-10 Thread DORAN, GRANT

Jose,

You should be able to. We use jsp pages for surface level exceptions like
this.

error-page

exception-typeuk.co.britannic.flexisale.common.exception.FlexisaleExceptio
n/exception-type
location/error/FlexisaleException.jsp/location
/error-page

And you may have to declare the page an error page, although that depends on
how you use it.
We use:

%@ page isErrorPage=true %

because this gives us access to the implicit exception object.

I'm not sure whether this is relevant to what your doing, as you are using
error codes.
But I can definitely say that the error-page syntax above works and that
JSPs can be used for certain.

Grant Doran


 -Original Message-
 From: Jose Mena [SMTP:[EMAIL PROTECTED]]
 Sent: 10 April 2002 12:20
 To:   Orion-Interest
 Subject:  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-code500/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.
 
 


This email and any accompanying documents are intended only for the named recipient, 
are confidential and may be privileged. If you are not the intended recipient please 
notify us immediately by mailto:[EMAIL PROTECTED] and you must not copy, disclose 
or otherwise use this message. Unauthorised use is strictly prohibited and may be 
unlawful. The content of this email represents the view of the individual and not the 
company. The company reserves the right to monitor the content of all emails in 
accordance with lawful business practice.

Whilst attachments are virus checked before transmission, Britannic Assurance plc does 
not accept any liability in respect of any virus which is not detected.

Britannic Assurance plc, No.3002 is registered in England and maintains its registered 
office at 1 Wythall Green Way, Wythall, Birmingham B47 6WG.
Telephone: 0870 887 0001
Fax: 0870 887 0002
Website: www.britannicassurance.com

Britannic Assurance plc, Britannic Unit Linked Assurance Limited, Britannic ISA 
Managers Limited and Britannic Unit Trust Managers Limited are regulated by the 
Financial Services Authority. Each of these companies is a member of the Britannic 
marketing group which only advises on and sells its own life assurance, pension, unit 
trust and ISA products.