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 ?

From the Servlet 2.4 spec:

SRV.8.4.2 Forwarded Request Parameters
 Except for servlets obtained by using the getNamedDispatcher method, a servlet
 that has been invoked by another servlet using the forward method of
 RequestDispatcher has access to the path of the original request.
 The following request attributes must be set:
   javax.servlet.forward.request_uri
   javax.servlet.forward.context_path
   javax.servlet.forward.servlet_path
   javax.servlet.forward.path_info
   javax.servlet.forward.query_string

HTH!
--
Hassan Schroeder ------------------------ [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to