commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shervin Asgari <>
Subject How to add commons:fileupload to tomcat
Date Thu, 16 Nov 2006 11:35:48 GMT
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.jar file.

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:
For additional commands, e-mail:

View raw message