title: How to get the previous page URL from request in servlet after dispatcher.forward(request, response)
body: <p>I'm using the servlet which redirects me with the help of</p>
  
  <pre><code>dispatcher.forward(request, response);
  </code></pre>
  
  <p>in the end. But after this I want to get the page(path) from which I was redirected to use it in next servlet command(to go to previous page). How could I get it?
  Or previous URL is not contained in request parameters and I should add it myself?
  Will be very grateful for your help.</p>