The short answer is that you just use an "https://" URL.
If your class is running in an applet in a browser and that applet was
loaded via an https: URL, then it will 'just work', since the browser
has
all the necessary SSL and https infrastructure.
Likewise if your class is in a servlet and the webserver is
JavaWebServer,
then this will work once you have installed the appropriate certificate.
For other environments you will need to enable SSL support, and register
a
URL handler for https and install a certificate.
Quang Ton wrote:
>
> I have a need to write a Java class to send a SECURE HTTP FORM POST. I know
> how to do a regular HTTP FORM Post via URLConnection which has already been
> discussed in this forum, but do not know where to start to write a secure
> one. Any information is appreciated.
>
> Thank you,
> Quang
>
> ___________________________________________________________________________
> 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
___________________________________________________________________________
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