commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shervin Asgari <sher...@linpro.no>
Subject Re: How to add commons:fileupload to tomcat
Date Thu, 16 Nov 2006 11:59:07 GMT
So what can I do?

Shervin Asgari 


Amit Jha wrote:
> I think DiskFileItemFactory is not there in the jar you have(might be the
> older one).
> I was facing the same problem and when I started using common-fileupload
> that comes with struts 1.3.5 things were fine.
>
> Regards,
> Amit
>
> On 11/16/06, Shervin Asgari <shervin@linpro.no> wrote:
>>
>> Hello. I have added the commons-fileupload-1.1.1.jar to my WEB-INF/lib
>> directory, and I have also included the same jar file in my 
>> webapp.jarfile.
>>
>> But still I seem to have problem using it. I keep getting :
>>
>> DiskFileItemFactory cannot be resolved to a type
>>
>>
>> I have also tried other classes and get the same error. I have included
>>
>> <%@ page import="org.apache.commons.fileupload.*"%>
>>
>> <%@ page import="org.apache.commons.fileupload.servlet.*"%>
>>
>> <%@ page import="org.apache.commons.fileupload.portlet.*"%>
>>
>> <%@ page import="org.apache.commons.collections.*"%>
>>
>> But this doesnt seem to help. Please help.
>>
>> Shervin Asgari
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: commons-user-help@jakarta.apache.org
>>
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message