hi
thanx a lot..
r
sasi

-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Jose Kuzhivelil
Sent: Thursday, December 05, 2002 4:17 PM
To: [EMAIL PROTECTED]
Subject: Re: How to get a ServletPath


Hi there

you can try
request.getAttribute("javax.servlet.error.request_uri");

It worked for us in WebLogic 6.1.

- jose





-----Original Message-----
From: Tharmarajah Sasi Dharma [mailto:[EMAIL PROTECTED]]
Sent: 05 December 2001 08:55
To: [EMAIL PROTECTED]
Subject: How to get a ServletPath


Hi all..
We are  having  a situation in which when a 404 exception is thrown we need
to redirect it to another page.
we were able to do it by specifing a file for http error code.
The main problem we r facing is that we need to get the URL which is
throwing 404 exception.
How can we do it???
we r using weblogic 7.0 as our server...
thanx in advance..
r
sasi

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to