Results 1 to 4 of 4

Thread: getting URLs

  1. #1
    Shiv is offline Member
    Join Date
    Apr 2009
    Posts
    15
    Rep Power
    0

    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

  2. #2
    OrangeDog's Avatar
    OrangeDog is offline Senior Member
    Join Date
    Jan 2009
    Location
    Cambridge, UK
    Posts
    838
    Rep Power
    6

    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

  3. #3
    Shiv is offline Member
    Join Date
    Apr 2009
    Posts
    15
    Rep Power
    0

    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

  4. #4
    OrangeDog's Avatar
    OrangeDog is offline Senior Member
    Join Date
    Jan 2009
    Location
    Cambridge, UK
    Posts
    838
    Rep Power
    6

    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

Similar Threads

  1. Integrate images and urls in any java application
    By Engineeringserver.com in forum New To Java
    Replies: 2
    Last Post: 08-06-2008, 11:46 PM
  2. Reading URLs Protected with HTTP Authentication
    By Java Tip in forum java.net
    Replies: 0
    Last Post: 04-07-2008, 07:58 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •