File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes can I get brower's previous url? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "can I get brower Watch "can I get brower New topic

can I get brower's previous url?

Alex Hank

Joined: Apr 27, 2005
Posts: 16
Is it possible to read a browsers previous url?

I know that I can get the previous url if a page has been linked to my site with request.getHeader("Referer"). However, this will not get me the previous url if the user types in my webaddress.

thanks in advance

Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
No it is a security issue....

I agree. Here's the link:
subject: can I get brower's previous url?
It's not a secret anymore!