tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefán F. Stefánsson <>
Subject RE: ENCTYPE="multipart/form-data"
Date Mon, 27 Nov 2000 08:53:22 GMT
what does your <form> tag (in HTML) look like?

-----Original Message-----
From: Falcon cheetah []
Sent: 27. nóvember 2000 07:19
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
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 


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.

View raw message