Hello List... My plan is to to stream uploaded files directly into a database.  This 
may be a bit ambitious for my little programming experience nevertheless here goes.

I've placed commons-fileupload-1.0.jar into WEB-INF/lib directory of my tomcat 
context.  

I've added the package statement:
package org.apache.commons.fileupload;

The following statement has been added to the import section of my test servlet:
import org.apache.commons.fileupload.*;

The compile chokes at the first assignment:
boolean isMultipart = FileUpload.isMultipartContent(req);

with a cannot resolve symbol on the FileUpload object.

btw the context log shows the jar being loaded:
2003-07-28 17:05:43 ContextConfig[/mlist]:   Scanning JARs in /WEB-INF/lib subdirectory
2003-07-28 17:05:43 ContextConfig[/mlist]:    Adding path 
'/WEB-INF/lib/commons-fileupload-1.0.jar'
2003-07-28 17:05:43 ContextConfig[/mlist]:  Scanning JAR at resource path 
'/WEB-INF/lib/commons-fileupload-1.0.jar'


What am I doing wrong?

Thanks,
/j-p.
/j-p.



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

Reply via email to