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
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
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
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
Hi,
I'm trying to make a very simple authentication with FORM method.
It shows log-in page that is defined at form-login-page tag in web.xml.
However, it doesn't show error page that is defined at form-error-page
tag. Whenever the login is incorrect, it backs to log-in page.
Please tell me why
I can't get the error page to be processed per my web.xml config.
I have a tag:
servlet-mapping
servlet-nameOTFwebTierEntryPoint/servlet-name
url-pattern/OTF/*/url-pattern
/servlet-mapping
error-page
error-code404/error-code
locationjscribeSysError.jsp/location
/error
hi all,
I have problems sending the user to an error page. It seems that it works
with error codes but not with exceptions.
Look at the code below. When the StudioNoEJBException is thrown I get send
to the error.jps page, not the errorlogin.jsp.
And when I take out the error page for 445, I
Hi Juan!
My experience is that using an error page directive can take care of _some_
of the problems, not all. For now, I have simply put such a directive in
each page, and quite often Orion shows my error page when an error occurs.
However, if the error occurs on an included page, the contents
A couple of us seem to have problems with error pages.
I have a page A which includes another page B, and I have created an error
page called "error.jsp" which is specified as the error page of both pages.
However, if an error occurs on page B which makes Orion forward the request
to
Assuming I am reading the web app DTD correctly, I believe you need
to have either an error-code OR an exception-type, but not both
defined for an error-page. Try removing the error-code tag.
Kent Kvarfordt
DISCLAIMERI have extensively searched the list archives and the sun jsp
forum first
This happened to us when we actually had an exception on the exception
handling page (or a page that the exception handling redirects to or
forwards).
We had to make our error page very simple.
Tony
-Original Message-
From: Grant Doran [mailto:[EMAIL PROTECTED]]
Sent: Saturday
the implicit exception object, the following
error appears in the browser:
Recursive error in error-page calling for
/error/JspException.jsp, see the application log for details.
Even
withthe standard jspexception it doesnt work.
The
tag handler throws this jspException
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-code500/error-code
exception-typejava.lang.Exception/exception-type
locationerror_500.jsp/location
/error-page
TIA
: RE: Error
Page
Or
set the return status code backto 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
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-code500/error-code
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
unsubscribe [EMAIL PROTECTED]
-Original Message-From: Rikard Westlund
[mailto:[EMAIL PROTECTED]]Sent: Thursday, February 22,
2001 09:49To: Orion-InterestSubject: SV: Error
Page
Hi
guys,
In order to get this to work on IE
the file locationerror_500.jsp/location
I've gotten the error-page to work quite well, but
not for the 404 error on a .jsp page...
Everytime when I try to do a garbled http-request I
end up with an octet-stream/application response.
500 internal server works fine with the
errorpage.
404 on badly formed urls works, unless
Hi Rikard,
Thanks for your attention but...
My error_500.jsp file is larger than 512b in
size.
Simon
- Original Message -
From:
Rikard Westlund
To: Orion-Interest
Sent: Thursday, February 22, 2001 12:48
AM
Subject: SV: Error Page
Hi
guys,
In order
-page
error-code500/error-code
exception-typejava.lang.Exception/exception-type
locationerror_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
Or set
the return status code backto 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 PMTo: Orion
I included an error-page option in my web.xml, but
whenever I force an error I get a strange response...
HTTP/1.1 500 Internal Server ErrorDate: Mon, 12
Feb 2001 15:41:28 GMTServer: Orion/1.4.5Transfer-Encoding:
chunkedConnection: CloseContent-Type:
application/octet-stream
0
My browser
Is there a setting or is it possible to set up custome error pages on Orion?
Thanks,
Jim
Subject: error page
Is there a setting or is it possible to set up custome error pages on Orion?
Thanks,
Jim
What is wrong with this syntax?
error-page
error-code404/error-code
locationhttp://localhost/index.html/location
/error-page
A 404 error does not do the redirect. Just gives the 404 error.
Thanks,
Neal
25 matches
Mail list logo