LOL. I had to add commons.io to make it work. Now everything works fine. I think the documentation is QUITE poor. No where did it say that I needed that package also.

Shervin Asgari - System Consultant




Shervin Asgari wrote:
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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to