Results 1 to 3 of 3
  1. #1
    manoranjan* is offline Member
    Join Date
    Sep 2011
    Posts
    2
    Rep Power
    0

    Default Java program to get the Browser Url ?

    Hiii
    I want to get the Url from any Browser i.s it may be firefox,IntrnetExplorer or any browser in my java program. Using java plugIn or using simple java program anything ..without changing the browser setting.
    someone will help me..
    Thanx ...

  2. #2
    pbrockway2 is offline Moderator
    Join Date
    Feb 2009
    Location
    New Zealand
    Posts
    4,573
    Rep Power
    12

    Default Re: Java program to get the Browser Url ?

    You can use the Applet getDocumentBase() method.

  3. #3
    manoranjan* is offline Member
    Join Date
    Sep 2011
    Posts
    2
    Rep Power
    0

    Default Re: Java program to get the Browser Url ?

    @pbrockway2
    Thanks friend for your suggestion, its working well.
    I want to block the specified websites using java proxy server or any java application but without changing the browser setting or modifying hosts fie or without using PAC file .
    and it should work for any kind of browser. Can anybody help me....if any body having the code or any suggestion or procedure please reply soon...
    Thanks........

Similar Threads

  1. java Web Browser
    By MarkWilson in forum Advanced Java
    Replies: 2
    Last Post: 10-20-2012, 09:10 PM
  2. Browser in JAVA
    By UJJAL DHAR in forum Advanced Java
    Replies: 7
    Last Post: 11-09-2011, 05:01 AM
  3. web browser in java
    By diptopol in forum New To Java
    Replies: 1
    Last Post: 08-21-2011, 04:58 PM
  4. Java browser [help]
    By runedog48 in forum Advanced Java
    Replies: 7
    Last Post: 03-23-2011, 09:32 AM
  5. Replies: 0
    Last Post: 11-04-2009, 10:09 PM

Tags for this Thread

Posting Permissions

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