You can check the "referer" field in the request, notice that the actual field name is misspelled. Also, the field is optional and browser-dependent if it's sent (but most/all modern browsers will send it), and a user could spoof this field as well.
You may be better off putting the current URL in a session variable and then referring to this variable in the next access. However, you will encounter a problem if the user has two windows open with the same session. -ed On 5/15/06, temp temp <[EMAIL PROTECTED]> wrote:
The method request.getServletPath returns current request uri.Can I get the previous request uri .ie I have a filter which is mapped to all .do's .So any .do is called this filter is invoked.In this filter I can retrieve the requested url. Is there any way I can determine url from which this request was made ? Thanks & Regards --------------------------------- Blab-away for as little as 1ยข/min. Make PC-to-Phone Calls using Yahoo! Messenger with Voice.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]