This week's book giveaway is in the JavaScript forum.
We're giving away four copies of JavaScript Promises Essentials and have Rami Sarieddine on-line!
See this thread for details.
The moose likes Beginning Java 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 JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Java » Beginning Java
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
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
I am closing this thread. Please look for the other one at
http://www.javaranch.com/ubb/Forum33/HTML/002688.html


"JavaRanch, where the deer and the Certified play" - David O'Meara
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Change in Domain