Website login using java

I am looking for a solution to enter the site using a java program.

I found a good script here:

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

But a problem with processing cookies? How can I get cookie information. send on server? Thanks

+5
source share
3 answers

Check JAAS to use it for automatic login, and if you are using IBM WebSphere, check the "Interceptor Trust Association"

+1
source

HtmlUnit Framework. Apache httpclient framework.

0

All Articles