Hi
I assume that you want to upload the file using an html file control.
For this you'll need to use enctype=multipart/form-data in the form tag and
then handle a multipart request. There are a couple of packages out there
that handle these reasonably well. One is the
com.oreilly.servlet.MultipartRequest and is available at www.servlets.com
Hope this is what you were looking for.
regards,
Sulakshana
From: sreenu pallepati <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, September 21, 2000 11:46 PM
Subject: Uploading a mail attachment from servlet
> Hi,
> I want to upload a file for sending a mail from
> a servlet.
> I looked for this stuff in java mail API, but
> could not find any calsses for uploading a file.
> Could some one help me please ....
> Thanks in advance,
> Sreenu
>
>
> __________________________________________________
> Do You Yahoo!?
> Send instant messages & get email alerts with Yahoo! Messenger.
> http://im.yahoo.com/
>
>
___________________________________________________________________________
> 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