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.
Re: How do i open and parse a web page?
Quote:
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.