This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes change in domain 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 » EJB and other Java EE Technologies
Bookmark "change in domain" Watch "change in domain" New topic

change in domain

Sri Enga
Ranch Hand

Joined: Feb 02, 2001
Posts: 51
First of all sorry for the multiple posts , but all of a sudden no one is responding to my question thus these multiple posts in various categories.
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

Joined: Jun 22, 2001
Posts: 6
U can track only requests your server receives. I dont think u can do this using plain Java. is an ad agenct which does this. They use agents which crawl behind the scenes. Thats a diff technology all together.
I agree. Here's the link:
subject: change in domain
It's not a secret anymore!