permaculture playing cards*
The moose likes Sockets and Internet Protocols and the fly likes Opening secured URL connection Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "Opening secured URL connection" Watch "Opening secured URL connection" New topic
Author

Opening secured URL connection

Tiger Scott
Ranch Hand

Joined: Mar 01, 2001
Posts: 223
How can you open a secured URL connection to an URL?
Thanks
Sanjay
maateen ashraf
Ranch Hand

Joined: Jan 08, 2001
Posts: 122
the secured connection just depends upon the protocol u r using
urlconnection uses http as protocol
what u have to do for secure connection is to use https as protocol

Tiger Scott
Ranch Hand

Joined: Mar 01, 2001
Posts: 223
Thanks.
How to open a secured connection using HTTPS is my question. The only syntax I know is url.openconnection(). I am not aware of any options here.
Sanjay
 
Don't get me started about those stupid light bulbs.
 
subject: Opening secured URL connection
 
Similar Threads
How to secure web resource in WebSphere 3.5?
Posting info from java through SSL to a servlet
How Java is secured
HTPPS
setting principle in request object