Re: Using com.oreilly.servlet in https mode

Jason Hunter <[email protected]>
Newsgroups gmane.comp.java.sun.servlet
Message-ID <[email protected]>
"Paku, Neil" wrote:
>
> Hi,
>         I apologise if this question has an answer elsewhere; I had a
> look but could not find the exact answer I'm looking for.
>
> I want to write a class that uses com.oreilly.servlet to upload and
> download files from an ssl-enabled server. I saw the HttpsMessage class
> but could not tell if I needed to use this class instead of
> MultipartRequest, or with it, or whether what I want to do cannot be
> satisfied by the library.

For handling file uploads on the server, the servlet container takes
care of the HTTPS work so you just use MultipartRequest (or
MultipartParser) the same as with HTTP.  When writing a standalone
client there's no container to help and you need to have more awareness
of the HTTPS communication, so use HttpsMessage there.  It encapsulates
the HTTPS logic.

-jh-

___________________________________________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.