Logging into a website using java

I'm looking for a solution to login to a website using a java program.

I found a good script over here:

http://www.dreamincode.net/forums/blog/114/entry-2715-login-to-a-website-from-java/

But the trouble is with handling cookies? How can I get the cookie info. send by the server? Thanks

5
задан BalusC 11 November 2011 в 23:40
поделиться