Re: calling in https mode from http mode
Mike Silvers <[email protected]>
| Newsgroups | gmane.comp.java.sun.servlet |
|---|---|
| Organization | Hainey Business Systems |
| Message-ID | <[email protected]> |
I believe that you are asking if there is another way to initiate an SSL connection to a browser other than using the HTTPS. The designation of HTTPS tells the browser to use port 443 for the connection, rather than port 80. Another way to "tell" the browser to use port 443 rather than 80 is to qualify the port at the end of the server name. In other words, the designation of https://www.hbs-inc.com/ and http://www.hbs-inc.com:443/ would both result in an SSL connection. Although in Java you can create an SSL tunnel using specific classes, using the internet browser/http server standards allows the server that has already been written and proved out to take care of the SSL communications for you. Hope this answers your question.... Mike ----- Original Message ----- From: "Richard Johnstone" <[email protected]> To: <[email protected]> Sent: Thursday, April 17, 2003 10:27 AM Subject: calling in https mode from http mode > Hi, > > I have an html page and I want to call a servlet. Currently the link > href is /servlet/myservlet. > How do I call this in ssl mode without having to hardcode in > https:\\myserver/servlet/myservlet into the link? > > Ta > Rich > ___________________________________________________________________________ To unsubscribe, send email to [email protected] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html