How to get the previous page's http address after submitting the page?

How to get the previous page's http address after submitting the page?
so what ever you have got on your address bar now, you can, for example, display it simultaneously on your current web page.
Thanks.
tombomanAsked:
Who is Participating?
 
kotanConnect With a Mentor Commented:
try this,

request.getRequestURI()
0
 
tombomanAuthor Commented:
thanks kotan.
0
All Courses

From novice to tech pro — start learning today.