Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: How do i open and parse a web page?

  1. #1
    Junior Member
    Join Date
    Mar 2013
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question How do i open and parse a web page?

    Hello

    I want to do the following:

    Open a web page that contains a form. After passing some data to the form and choosing from a select list on the webpage i want to parse the web page and store the data on a database. Do i need to do itby opening a browser through Java or is there another way to fill the form and then get the data from the page?

    How can i do it? What is the best way?

    Sorry if the question is to general but i am out in the blue here. Thank you in advance.


  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    SW Missouri
    Posts
    20,149
    Thanks
    48
    Thanked 2,158 Times in 2,131 Posts

    Default Re: How do i open and parse a web page?

    way to fill the form and then get the data from the page?
    You should study HTTP and HTML to see what a browser sends to a server and what the server returns to the browser.
    It's possible in some cases to write a java program that works like a browser.
    If you don't understand my answer, don't ignore it, ask a question.

Similar Threads

  1. Printing from web page
    By skuskusas in forum Java Theory & Questions
    Replies: 0
    Last Post: December 27th, 2012, 03:49 AM
  2. Parse error in application web.xml
    By abijith1 in forum Member Introductions
    Replies: 1
    Last Post: February 6th, 2012, 10:38 AM
  3. Open web page according to day
    By caenleve in forum What's Wrong With My Code?
    Replies: 2
    Last Post: March 8th, 2011, 06:22 PM
  4. Unable to open web service tester page
    By oneofthelions in forum JavaServer Pages: JSP & JSTL
    Replies: 0
    Last Post: December 13th, 2009, 05:20 PM
  5. Java program to open jsp page on client side instead of server side
    By khanshakil in forum JavaServer Pages: JSP & JSTL
    Replies: 1
    Last Post: July 8th, 2009, 06:26 AM