Shaun I generally do place the .jar's in my webapps lib directory as well and yes, I you can remove the beta version of FileUpload.
Kind Regards Schalk Neethling Volume4.Development.Multimedia.Branding emotionalize.conceptualize.visualize.realize Tel: +27125468436 Fax: +27125468436 email:[EMAIL PROTECTED] web: www.volume4.co.za :: -----Original Message----- :: From: Shaun Kenny [mailto:[EMAIL PROTECTED] :: Sent: Thursday, July 31, 2003 4:33 PM :: To: 'Jakarta Commons Users List' :: Subject: RE: FileUpload 1.0 with Tomcat 4.1.24 :: :: I've got jar files for commons-beanutils and commons-logging (in various :: locations, see below) but I didn't put them there myself: :: Tomcat/common/lib directory: :: commons-logging-api.jar :: Tomcat/server/lib directory: :: commons-beanutils.jar :: commons-logging.jar :: commons-fileupload-1.0-beta-1.jar :: :: Should I copy the .jar files for beanutils and logging in my webapp lib :: directory? Also, can I just remove the beta commons-fileupload jar file if :: I use the 1.0 release version? :: :: Thanks for the quick reply! :: :: ~ :: sk :: :: :: > -----Original Message----- :: > From: Schalk [mailto:[EMAIL PROTECTED] :: > Sent: July 31, 2003 11:06 AM :: > To: 'Jakarta Commons Users List' :: > Subject: RE: FileUpload 1.0 with Tomcat 4.1.24 :: > :: > :: > :: > :: > Shaun :: > :: > Firstly do you also have commons-beanutils and :: > commons-logging in you lib? :: > :: > Kind Regards :: > Schalk Neethling :: > Volume4.Development.Multimedia.Branding :: > emotionalize.conceptualize.visualize.realize :: > Tel: +27125468436 :: > Fax: +27125468436 :: > email:[EMAIL PROTECTED] :: > web: www.volume4.co.za :: > :: > :: > :: -----Original Message----- :: > :: From: Shaun Kenny [mailto:[EMAIL PROTECTED] :: > :: Sent: Thursday, July 31, 2003 3:53 PM :: > :: To: 'Jakarta Commons Users List' :: > :: Subject: FileUpload 1.0 with Tomcat 4.1.24 :: > :: :: > :: Hi :: > :: :: > :: I've been trying to setup a web application using the :: > Commons FileUpload 1.0 :: > :: with Tomcat 4.1.24; the servlet using FileUpload will :: > compile (using :: > :: NetBeans 3.5) but when Tomcat processes it, a :: > ClassNotFoundException is :: > :: thrown saying javax.servlet.ServletInputStream can't be :: > found. This :: > :: exception is traced to the following line: :: > :: DiskFileUpload fileupload = new DiskFileUpload(); :: > :: However, in the servlet, I *can* create an instance of :: > ServletInputStream :: > :: like this: :: > :: ServletInputStream srvin = ServletRequest.getInputStream(); :: > :: This line of code compiles without problems and is :: > executed, no problem, in :: > :: the servlet by Tomcat. So it seems that only the :: > FileUpload stuff can't :: > :: find the ServletInputStream class. I've tried putting the :: > FileUpload .jar :: > :: in the WEB-INF/lib directory of the webapp, as well as my :: > Tomcat/common/lib :: > :: and jdk/jre/lib/ext (which Tomcat uses) directories. :: > :: :: > :: However, when I uninstalled Tomcat 4.1.24 and installed :: > Tomcat 4.1.18 :: > :: everything worked fine without changes. :: > :: :: > :: Any ideas? :: > :: :: > :: ~ :: > :: Shaun Kenny :: > :: :: > :: :: > --------------------------------------------------------------------- :: > :: 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
