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
选中JAAS ,以将其用于自动登录;如果使用的是IBM WebSphere,请选中“信任关联拦截器”
Use HtmlUnit Framework. or Apache httpclient framework.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.