commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shah, Mehul - Contractor" <>
Subject RE: File Upload does not work....
Date Wed, 26 Nov 2003 17:35:55 GMT


I fixed the problem. I had commons-fileupload.jar in
%JAVA_HOME%\jre\lib\ext and also in my web-inf/lib directories. This
caused the problem. I don't understand why would it cause a problem but
for now it is working.

I am sorry for the inconvenience and thanks for your help.

-Mehul Shah

-----Original Message-----
From: Craig R. McClanahan [] 
Sent: Tuesday, November 25, 2003 9:55 PM
To: Jakarta Commons Developers List; Shah, Mehul - Contractor
Subject: Re: File Upload does not work....

Quoting "Shah, Mehul - Contractor" <>:

> Hello,
> I am using Tomcat 4.1 and Commons-FileUpload api. I cant get it
> I get the following error:

One thing to ensure is that you're not trying to include servlet.jar
inside your
webapp (since it's built in to Tomcat already).  Including servlet.jar
pretty much guaranteed to cause you very wierd errors, and this could
be one of them.

On the other hand, it is important to include commons-fileupload.jar and
JARs it depends on (see the docs) in your webapp's WEB-INF/lib


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message