bekky-boo
May 4 2006, 08:24 AM
hey ppl,
im new to this site so firstly ill say HI EVERYONE!
Well i need sum help with 'commons-fileupload'!
I write
FileItemFactory factory = new DiskFileItemFactory()
and the compiler says that DiskFileItemFactory cannot be resolved to a type...
I have imported org.apache.commons.fileupload.*
Can anyone help me???
groovicus
May 4 2006, 08:41 AM
If you have it imported, you are probably having a classpath issue then. The compiler can't find the class (although that usually throws a ClassNotFound error). What is the exact error message.. I am not familiar with that one.
bekky-boo
May 4 2006, 08:45 AM
it says "Diskfileitemfactory cannot be resolved to a type" this occurs when doing
fileitemfactory factory = new diskfileitemfactory()
groovicus
May 4 2006, 09:12 AM
Can I see your code please?
bekky-boo
May 8 2006, 12:51 AM
thanks for your help.
you were right the problem was class path!
Bek
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.