1. Is WEB-INF/lib in your CLASSPATH when you compile the code. 2. I think you may also need commons-logging & commons-beanutils. Can't remember why.
Regards, Bill Comer Lammtara Multiserve Ltd -----Original Message----- From: john-paul delaney [mailto:[EMAIL PROTECTED] Sent: 28 July 2003 20:35 To: [EMAIL PROTECTED] Subject: [Fileupload](java newbie):cannot resolve symbol 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] --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.502 / Virus Database: 300 - Release Date: 18/07/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.502 / Virus Database: 300 - Release Date: 18/07/2003 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
