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
Handling cookies using the java.net.* API
Check JAAS , to use it for automatic log-in and if you are using IBM WebSphere check "Trust Association Interceptor"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With