RE: 404 and originally requested URL

2007-04-19 Thread Simon Stone
Have you tried using the request.getHeader("Referer") to get the page that sent the previous request Propes, Barry L [GCG-NAOT] wrote: > > did you check your logs? Did they tell you anything? > > -Original Message- > From: Guilhem SEMPERE [mailto:[EMAIL PROTECTED] > Sent: Wednesday, Ap

Re: 404 and originally requested URL

2007-04-19 Thread Guilhem SEMPERE
Yup, request.getAttribute("javax.servlet.forward.request_uri") does exactly what I need, thank you very much. Rashmi Rubdi a écrit : Well, the wording in the servlet spec "The values of these attributes must be equal to the return values of the..." don't reflect what I see: I was thinking th

Re: 404 and originally requested URL

2007-04-18 Thread Rashmi Rubdi
Ok, now I get it. Sorry, it was my mistake for not reading the sentence carefully. -Rashmi On 4/18/07, Hassan Schroeder <[EMAIL PROTECTED]> wrote: On 4/18/07, Rashmi Rubdi <[EMAIL PROTECTED]> wrote: > Well, the wording in the servlet spec "The values of these attributes > must be equal to the

Re: 404 and originally requested URL

2007-04-18 Thread Hassan Schroeder
On 4/18/07, Rashmi Rubdi <[EMAIL PROTECTED]> wrote: Well, the wording in the servlet spec "The values of these attributes must be equal to the return values of the..." don't reflect what I see: I was thinking that request.getRequestURI returns the same results as request.getAttribute("javax.se

Re: 404 and originally requested URL

2007-04-18 Thread Rashmi Rubdi
Well, the wording in the servlet spec "The values of these attributes must be equal to the return values of the..." don't reflect what I see: I was thinking that request.getRequestURI returns the same results as request.getAttribute("javax.servlet.forward.request_uri") request.getRequestURI give

Re: 404 and originally requested URL

2007-04-18 Thread Hassan Schroeder
On 4/18/07, Rashmi Rubdi <[EMAIL PROTECTED]> wrote: > The Servlet Spec is your friend -- SRV 8.4.2, specifically :-) No, none of the methods listed under SRV 8.4.2 show the referring URL information You misunderstand -- there is no reference to the "referrer" in the original posting, nor is

Re: 404 and originally requested URL

2007-04-18 Thread Rashmi Rubdi
On 4/18/07, Hassan Schroeder <[EMAIL PROTECTED]> wrote: On 4/18/07, Guilhem SEMPERE <[EMAIL PROTECTED]> wrote: > Now I need access to the originally requested URL (the one which > couldn't be found). I couldn't find a way to do this. The Servlet Spec is your friend -- SRV 8.4.2, specifically :

Re: 404 and originally requested URL

2007-04-18 Thread David Brown
What does the referrer request header give you ? Propes, Barry L wrote: did you check your logs? Did they tell you anything? -Original Message- From: Guilhem SEMPERE [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 18, 2007 10:00 AM To: users@tomcat.apache.org Subject: 404 and originall

Re: 404 and originally requested URL

2007-04-18 Thread Hassan Schroeder
On 4/18/07, Guilhem SEMPERE <[EMAIL PROTECTED]> wrote: Now I need access to the originally requested URL (the one which couldn't be found). I couldn't find a way to do this. The Servlet Spec is your friend -- SRV 8.4.2, specifically :-) HTH, -- Hassan Schroeder [EMAI

RE: 404 and originally requested URL

2007-04-18 Thread Propes, Barry L
did you check your logs? Did they tell you anything? -Original Message- From: Guilhem SEMPERE [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 18, 2007 10:00 AM To: users@tomcat.apache.org Subject: 404 and originally requested URL Hi I am using Tomcat 5.5, having set it up so that any 4