How get/post with cookies and https.

E

Eridano

Ciao.

I need an example about how to connect to an https site (for example
hotmail - email) and with a java client login with user and password
and read page with my post summary...could you help me? It very
critical to understand how cookies and https (with certificates)
works.

Thank you in advance.

Ivan
 
S

Steve Jasper

Hey there....

Check out HTTPUnit at http://www.httpunit.org - read the docs, but the
basic idea is that you create something called a WebConversation
object, and pass all subsequent requests through that. The
WebConversation object will manage all your cookies for you (although
you can have access to them of course).

Good documentation and samples to get you going, I've been using it
for some time and it works great...

Good luck!
 
M

Manish Jethani

Eridano said:
I need an example about how to connect to an https site (for example
hotmail - email) and with a java client login with user and password
and read page with my post summary...could you help me? It very
critical to understand how cookies and https (with certificates)
works.

http://www.google.com/search?q=httpclient

You can use HttpUrlConnection with JSSE. You can use
HTTPClient. You can HttpClient (jakarta). Depends.

-Manish
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top