File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Tracking change in domain Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Tracking change in domain" Watch "Tracking change in domain" New topic

Tracking change in domain

Sri Enga
Ranch Hand

Joined: Feb 02, 2001
Posts: 51
Is there a way to find out in java , when a user leaves the current domain and goes to another domain by typing another URL in address field of browser.


if i am at and if i type in the address bar.
Can I track the domain of the newer site i.e. this is only needed if the user is changing the domain through the Address bar in Internet Explorer or Location bar in Netscape.
I have tried location.hostname in javascript and it is giving me i.e. the current hostname but i could not access the ie. the new URL.
Is there a java solution for this either through invisible applets or invisible servlets, or any java function I use in a JSP , servlet etc.
Any solution in any software is ok.
Thanks for your time and help

Srini Renga
I agree. Here's the link:
subject: Tracking change in domain
It's not a secret anymore!