I wanted to do this task,of logging into a website with a username and a password.Once i am there on the page i want to simulate a click on a link(dont know if simulate is the right word.. ).The click would give me a page where there is data arranged in a table.This data has to be stored in a text file.
Once this is done a simple logout would finish my task.
I am not sure how and using what technologies should i accomplish this task.Can someone help me with the approach that i should take to do this task.
Please always tell us what the thread is about. "Java newbie question" doesn't give us much inspiration to answer . Also, I think the "newbie" bit is inaccurate; this is a question beyond the "beginning" stage, and GET/POST looks like something out of a servlet, so I shall move this post thither. If I was mistaken about the location, it may move again, but you can still find the thread from "beginning"
Joined: Nov 08, 2009
I am up with the HTTPClient module,but was stuck with a few things.
1.My code is supposed to login to a site and get the data,but here what i see is a html source which is nothing but a login page.