On 3/9/06, Vineet Billorey <[EMAIL PROTECTED]> wrote: > > OK. > > It crosses this step when I included org.apache.commons.io.1.1.jar > > But it stops at another line as follows: > > File saveTo = new File(upload_path+"/"+name); > item.write(saveTo); > > Showing the following Exception: > > java.io.FileNotFoundException: /var/www/icma/upload/painting_small.jpg (No > such file or directory) > > Please consider that /var/www/icma/upload is the server path and the file > name is:painting_small.jpg
And the path /var/www/icma/upload already exists on the server? -- Martin Cooper Please guide me. > > Thanking you, > > Vineet Billorey > > > ----- Original Message ----- > From: "Brian K. Wallace" <[EMAIL PROTECTED]> > To: "Jakarta Commons Users List" <[email protected]> > Sent: Thursday, March 09, 2006 1:45 PM > Subject: Re: upload.parseRequest(request) failure > > > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > Vineet Billorey wrote: > > > I have installed java 1.5 on Windows 2000 platform. > > > I am using commons-fileupload1.1.jar and when I call the following > command > > > > > > List items = upload.parseRequest(request); > > > > > > It fails giving the following error: > > > > > > java.lang.NoClassDefFoundError: > org/apache/commons/io/output/DeferredFileOutputStream > > > > > > Please guide me. > > > > > > Thanks in advance. > > > > > > > > > Vineet Billorey > > > > You may also want to look at > > http://jakarta.apache.org/commons/fileupload/faq.html#class-not-found > > > > Brian > > -----BEGIN PGP SIGNATURE----- > > Version: GnuPG v1.2.5 (MingW32) > > > > iD8DBQFED+QoaCoPKRow/gARApuSAKCzKy7kn8cPlJ+pfinZq784G++OLQCgpFIO > > /FeRvcLWqsolWUPVz4fsvmU= > > =T7rf > > -----END PGP SIGNATURE----- > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > -- > > No virus found in this incoming message. > > Checked by AVG Free Edition. > > Version: 7.1.375 / Virus Database: 268.2.0/275 - Release Date: 3/6/2006 > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
