Hello Franck,

Franck Borel <[EMAIL PROTECTED]> wrote on 17.10.2006 10:37:02:

> I would like to use the HttpClient API to fill in automaticaly an 
> authentication request of my Tomcat form authentication.
> In a first step I send a GET request to get the JSESSIONID. A second 
> step I send username, password and the cookie  calling the j_security to 

> passing through the authentication.
> 
> But I get only the login-error.jsp message back. I think this have to do 

> with my cookie. Can anybody help me?

Have you studied the Client HTTP Programming Primer?
http://wiki.apache.org/jakarta-httpclient/ForAbsoluteBeginners

cheers,
  Roland

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to