Application software transmittedHTTPS is the same as HTTP. The difference is on the server level, not the application level, there's no code to demonstrate this unless you're programming a server itself.
In the simplest case, just use javax.net.ssl.HttpsURLConnection instead of java.net.HttpURLConnection, and you should be good to go. Plenty of examples can be found using your trusted friend Google, in particular the very first link. [ August 22, 2006: Message edited by: Ulf Dittmer ]