JAVA API to read Web page contents

Discussion in 'Java' started by vinayak Desai, Feb 22, 2007.

  1. Hi All,

    I am new to JAVA, I want to read the contents of a web page.. How can
    I?

    Thanks n regards

    Vinayak Desai
    9900779832
     
    vinayak Desai, Feb 22, 2007
    #1
    1. Advertising

  2. vinayak Desai

    Sundar Guest

    On Feb 22, 11:41 am, "vinayak Desai" <> wrote:
    > Hi All,
    >
    > I am new to JAVA, I want to read the contents of a web page.. How can
    > I?
    >
    > Thanks n regards
    >
    > Vinayak Desai
    > 9900779832


    For your question I assume that you want to parse the HTML page (OR
    Page scrapping web page). If that is the case you might look at
    String.split() function OR String.indexOf().

    -Sundar
    http://heysundar.blogspot.com
     
    Sundar, Feb 22, 2007
    #2
    1. Advertising

  3. vinayak Desai wrote:
    > Hi All,
    >
    > I am new to JAVA, I want to read the contents of a web page.. How can
    > I?
    >
    > Thanks n regards
    >
    > Vinayak Desai
    > 9900779832
    >


    Try using HttpUnit, or HtmlUnit.
     
    Tymoteusz Gedliczka, Feb 22, 2007
    #3
  4. On Feb 22, 5:02 pm, Tymoteusz Gedliczka <>
    wrote:
    > vinayak Desai wrote:
    > > Hi All,

    >
    > > I am new toJAVA, I want toreadthecontentsof awebpage.. How can
    > > I?

    >
    > > Thanks n regards

    >
    > > Vinayak Desai
    > > 9900779832

    >
    > Try using HttpUnit, or HtmlUnit.



    =============================
    Thanks a lot.. :)
    =============================
     
    vinayak Desai, Feb 23, 2007
    #4
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Don Adams
    Replies:
    1
    Views:
    626
    Martin Honnen
    Mar 5, 2004
  2. Kuldeep

    Read contents of a web page

    Kuldeep, Oct 24, 2006, in forum: ASP .Net
    Replies:
    1
    Views:
    296
    Chris Fulstow
    Oct 24, 2006
  3. Kamarulnizam Rahim
    Replies:
    4
    Views:
    249
    Robert Klemme
    Jan 28, 2011
  4. Replies:
    1
    Views:
    100
  5. Replies:
    0
    Views:
    218
Loading...

Share This Page