Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Anyway for my program to read Web page address from Internet Explorer's address bar?

 
Hank Haroldson
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Anyway for my program to find a Web page address from Internet Explorer's address bar? I just need the address, not the contents of the page. Also, anyway for me to tell IE to do a Refresh/Reload?
[ January 11, 2006: Message edited by: Hank Haroldson ]
 
Mike Noel
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is your program a stand alone java program, an applet running in a browser, or a server side web app (servlet or jsp page)?

_M_
 
Hank Haroldson
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Stand-alone program....
Also, doesn't have to be IE.. if there is a way to do this with Firefox, that works too.
[ January 11, 2006: Message edited by: Hank Haroldson ]
 
karthikeyan Chockalingam
Ranch Hand
Posts: 259
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You may do it in an indirect way (not a pure Java solution). Taking win 32 OS as an example, you may use exec method of Runtime and invoke a VBScript (or anyother program) and write the IE's address into a file. Then read the content from the file using Java IO.

Hope some one comes up with a much easier solution.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic