ssl « Post « JSP-Servlet Q&A





1. Posting info from java through SSL to a servlet    coderanch.com

I am also trying to post to servlet behind an https webserver. eg. https://server.com/System/PostHandler I am posting XML document for processing. Everything was fine and then the requirement was changed to use SSL. I tried to use java.net.UrlConnection but get IO Exception for malformed url. Posting to regular http works. I looked at java.net.ssl Package but I cannot find any samples ...