I was working on automated login using the code provided by blog post specially using j_security_check using httpclient (4.5.1)
http://www.elitejavacoder.com/2013/10/http-client-form-based-authentication.html
DefaultHttpClient client =
new
DefaultHttpClient();
You will get meesage as "DefaultHttpClient is depricated"
To make this code working please use
HttpClient client = HttpClientBuilder.create().build();
No comments:
Post a Comment