Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Obtaining the referring URL...

 
Dave Hewitson
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We have a jsp that's called from other pages, being served from other servers.
I want to be able to return to the URL which invoked my page when the user has finished.
Is there a way I can get hold of the absolute path of the referer?
Thanks
Dave
 
Dave Hewitson
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I found it!
request.getHeader("referer");
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!