File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "change in domain" Watch "change in domain" New topic
Author

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.
e.g.
if i am at www.yahoo.com and if i type www.hotmail.com in the address bar.
Can I track the domain of the newer site i.e. www.hotmail.com 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 www.yahoo.com i.e. the current hostname but i could not access the www.hotmail.com 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
Thanks
Srini Renga
varanasir
Greenhorn

Joined: Jun 22, 2001
Posts: 6
Hi,
U can track only requests your server receives. I dont think u can do this using plain Java. doubleclick.net is an ad agenct which does this. They use agents which crawl behind the scenes. Thats a diff technology all together.
thanks,
ravi
 
wood burning stoves
 
subject: change in domain