Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-16-2009, 03:23 PM
Member
 
Join Date: Apr 2009
Posts: 15
Rep Power: 0
Shiv is on a distinguished road
Smile getting URLs
Hi
Can any one tell me that how to capture URLs from any web browsers? I want to store information about all those URLs which are visited through browser (in my case google chrome, firefox). How can i do that in java? Any idea/suggestion?

Thanks
Bookmark Post in Technorati
Reply With Quote
  #2 (permalink)  
Old 04-16-2009, 03:48 PM
OrangeDog's Avatar
Senior Member
 
Join Date: Jan 2009
Location: Cambridge, UK
Posts: 838
Rep Power: 2
OrangeDog is on a distinguished road
Default
Do you mean on the client side or the server side? Either way, Java is hardly necessary. Web servers should record all user agents in their logs somewhere and clients have this feature called history.
__________________
Don't forget to mark threads as [SOLVED] and give reps to helpful posts.
How To Ask Questions The Smart Way
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 04-16-2009, 06:36 PM
Member
 
Join Date: Apr 2009
Posts: 15
Rep Power: 0
Shiv is on a distinguished road
Smile Re:
But for retrieving header informations, you need to first connect to web url. and thats what my problem is, how can u know that which url is open in my browser. if some how i am able to track URL from my browser then it is done.
I want to make my application which runs in backstage, and capture all those url's which are visited through web browser. As soon as you visit the page by pressing enter or GO, the web url of that page is stored in some database.


Thanks
Bookmark Post in Technorati
Reply With Quote
  #4 (permalink)  
Old 04-16-2009, 06:48 PM
OrangeDog's Avatar
Senior Member
 
Join Date: Jan 2009
Location: Cambridge, UK
Posts: 838
Rep Power: 2
OrangeDog is on a distinguished road
Default
You can write a simple proxy server that you configure your browser to connect to. This can record all the URLs that it processes while it forwards all traffic between the browser and the target webserver.

Or you could write a Firefox extension that monitors visited URLs and incorporates the rest of your applications.

Or you could just monitor the browser history.
__________________
Don't forget to mark threads as [SOLVED] and give reps to helpful posts.
How To Ask Questions The Smart Way
Bookmark Post in Technorati
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Integrate images and urls in any java application Engineeringserver.com New To Java 2 08-07-2008 12:46 AM
Reading URLs Protected with HTTP Authentication Java Tip java.net 0 04-07-2008 08:58 PM


All times are GMT +2. The time now is 06:07 AM.



VBulletin, Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2009, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org