This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Servlets and the fly likes Posting to a HTTPS site using URLConnection Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Servlets
Reply Bookmark "Posting to a HTTPS site using URLConnection" Watch "Posting to a HTTPS site using URLConnection" New topic
Author

Posting to a HTTPS site using URLConnection

Satyashree Mahapatra
Greenhorn

Joined: Jul 18, 2000
Posts: 10
Hi,
If I need to post data using URLConnection/HttpURLConnection with the URL being "https://www.abc.com", do I need to do anything special for HTTPS ?
Thanks
Sandra Sharpe
Greenhorn

Joined: Jan 29, 2001
Posts: 7
You will need to download the Java Secure Socket Extensions api ( JSSE ). This has the class HttpsUrlConnection that you can use to perform a secure post similar to using the HttpUrlConnection to perform an unsecure one.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Posting to a HTTPS site using URLConnection
 
Similar Threads
post an xml document to a https:// address
Https post, through Proxy settings
J2EE Client Application - Part II
Https post, through Proxy settings
Https connection using a hostname not a url.