what does your <form> tag (in HTML) look like?
-----Original Message-----
From: Falcon cheetah [mailto:[EMAIL PROTECTED]]
Sent: 27. nóvember 2000 07:19
To: [EMAIL PROTECTED]
Subject: ENCTYPE="multipart/form-data"
I am trying to load a file to my server, in order to
use it as an attachment for a JavaMail webmail. I am
using an example, which works fine by itself till I
start to use it in my application.
I am using a form that specifies the encryption type
to
ENCTYPE="multipart/form-data" which seems like
something tomcat does not like! If I remove this line
from my form I do not get the attached error, but
nothing seems to work.
What am I doing wrong here?
Please tell me how to ask a user to choose a file to
be attached to his email and what is the best way to
uploaed it. I am using a couple of examples that
really work. But not for tomcat.
I am running tomcat 2.3.8 with apache1.3.14 on rd6.1.
----------------Error Log -------------------------
No file was attached!
try again!
HTTP/1.1 200 OK Date: Mon, 27 Nov 2000 07:02:05 GMT
Server: Apache/1.3.14 (Unix) mod_jk Connection: close
Content-Type: text/html; charset=iso-8859-1
OK
The server encountered an internal error or
misconfiguration and was unable to complete your request.
__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/