Ah. Thats a problem. I just checked and it is Form Based.

----- Original Message ----- 
From: "Fogleson, Allen" <[EMAIL PROTECTED]>
To: "Jakarta Commons Users List" <[email protected]>
Sent: Monday, April 18, 2005 5:46 PM
Subject: RE: [HTTP CLIENT] Getting Started


Are you sure the site is using BasicAuthentication (vs digest or
FormBased)?

Al

-----Original Message-----
From: Luke Shannon [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 18, 2005 4:46 PM
To: [email protected]
Subject: [HTTP CLIENT] Getting Started

Hi;

I need to create a test program to log into a secure site and post to a
servlet. I have been playing with the  BasicAuthenticationExample on:

http://svn.apache.org/viewcvs.cgi/jakarta/commons/proper/httpclient/bran
ches/HTTPCLIENT_2_0_BRANCH/src/examples/BasicAuthenticationExample.java?
view=markup

However, I'm not having any luck. When I try and post to the servlet I
get
the page the server returns when someone is not logged in.

Basically I need log into a site, submit a URL and process the response.
Can
someone point me to a tutorial or article that could get me started?

Thanks,

Luke



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to