-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------


You ought to get the code that I posted to work with the following html
snippet:

<FORM ENCTYPE="multipart/form-data" method=post
action="/servlets/FileUploadServlet">
<INPUT TYPE="file" NAME="File1" >
<BR>
<INPUT TYPE="file" NAME="File2" >
<BR>
<INPUT TYPE="submit" VALUE="Submit">
</FORM>

-ch

------
Christopher Hoover
mailto:[EMAIL PROTECTED]
http://www.murgatroid.com
+1-408-348-0304, +1-209-315-6378 fax

`I don't even have an e-mail address. I have reached an age where my main
purpose is not to receive messages.' --- Umberto Eco, quoted in the New
Yorker

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Jose Maria
> Lianes
> Sent: Monday, October 04, 1999 2:53 AM
> To: [EMAIL PROTECTED]
> Subject: uploading images using javax.mail
>
>
> -----------------------------
> Please read the FAQ!
> <http://java.apache.org/faq/>
> -----------------------------
>
> Hi all.
> I'm trying to upload jpeg files, and i'm trying with the
> FileUploadServlet.java from Christopher Hoover (thanks for the source). In
> the .html sending form I use "multipart/form-data" (maybe this is the
> error), and when the servlet receives the file cant cast the
> message content
> to a Multipart object, and I get "Content is not MimeMultipart" ...
> I use jserv 1.0, jsdk2.0, jdk1.2
> I hope somebody could help.
> Thanks.
>
> Jose Maria Lianes.
>
>
>
> --
> --------------------------------------------------------------
> Please read the FAQ! <http://java.apache.org/faq/>
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Archives and Other:  <http://java.apache.org/main/mail.html>
> Problems?:           [EMAIL PROTECTED]
>



--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to