FW: How do you send them back to where they came from?

1999-06-10 Thread Beheshti, Reza
again, Reza -Original Message- From: Beheshti, Reza Sent: Wednesday, June 09, 1999 3:04 PM To: 'JSP List' Subject: How do you send them back to where they came from? Hi, I am relatively new to JSP and Servlet, so forgive me if this is a trivial question. I dogged thru the servelt API

Re: FW: How do you send them back to where they came from?

1999-06-10 Thread Craig R. McClanahan
ts? Thanks again, Reza -Original Message- From: Beheshti, Reza Sent: Wednesday, June 09, 1999 3:04 PM To: 'JSP List' Subject: How do you send them back to where they came from? Hi, I am relatively new to JSP and Servlet, so forgive me if this is a trivial question. I dogged thru the ser

Re: FW: How do you send them back to where they came from?

1999-06-10 Thread Hans Bergsten
"Beheshti, Reza" wrote: Thanks to all of you who responded, but I still can not get to the original page URL!!! I tried both HttpUtils.getRequestURL() and req.getRequestURI() from the servlet and BOTH of them just return the URL for the servlet NOT the page that the servlet was called from.

Re: How do you send them back to where they came from?

1999-06-10 Thread Ken Chu
Title: RE: How do you send them back to where they came from? You can do this in JavaScript. Add the following code to your JSP file after all your server-side processing is done: script language=javascript if (document.referrer) { location.replace(document.referrer); } /script -Ken

Re: FW: How do you send them back to where they came from?

1999-06-10 Thread Tim Moyle
Use req.getHeader("REFERER") where req is the HttpRequest. "Beheshti, Reza" wrote: Thanks to all of you who responded, but I still can not get to the original page URL!!! I tried both HttpUtils.getRequestURL() and req.getRequestURI() from the servlet and BOTH of them just return the URL

How do you send them back to where they came from?

1999-06-09 Thread Beheshti, Reza
Hi, I am relatively new to JSP and Servlet, so forgive me if this is a trivial question. I dogged thru the servelt API and did not find anything in "req" object where I can figure out the URL of the req. I need to be able to (in the servelet) figure out the origin URL of a request, so after I

Re: How do you send them back to where they came from?

1999-06-09 Thread Hans Bergsten
"Beheshti, Reza" wrote: Hi, I am relatively new to JSP and Servlet, so forgive me if this is a trivial question. I dogged thru the servelt API and did not find anything in "req" object where I can figure out the URL of the req. I need to be able to (in the servelet) figure out the origin

Re: How do you send them back to where they came from?

1999-06-09 Thread Hans Bergsten
Taylor Gautier wrote: - Original Message - From: Hans Bergsten [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 09, 1999 12:45 PM Subject: Re: How do you send them back to where they came from? "Beheshti, Reza" wrote: Hi, I am relatively