File upload problem with Struts 1.1

2003-11-12 Thread Raman Garg
Hi, We are getting error while file uploading using struts 1.1. We have a demo code for file uploading which demostrates the file uploading using struts. When we run there application code works fine but when we submit the form by setting enctype for the form it throws the following error.

Re: File upload problem with Struts 1.1

2003-11-12 Thread Caoilte O'Connor
have you got the commons-upload jar in your lib dir? you need that as well as the struts jars. Also check your controller (in struts-config) has something like this (though i think it's optional actually), controller maxFileSize=300K / c On Wednesday 12 November 2003 08:18,

Re: File upload problem with Struts 1.1

2003-11-12 Thread Garg Raman \(SDinc\)
development server Any other suggestion will be appreciated . Looking forward to hear from you. Cheers Raman Garg - Original Message - From: Caoilte O'Connor [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, November 12, 2003 3:42 PM Subject: Re: File upload problem with Struts 1.1

Re: File upload problem with Struts 1.1

2003-11-12 Thread Caoilte O'Connor
you. Cheers Raman Garg - Original Message - From: Caoilte O'Connor [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, November 12, 2003 3:42 PM Subject: Re: File upload problem with Struts 1.1 have you got the commons-upload jar in your lib dir? you need that as well

Re: File upload problem with Struts 1.1

2003-11-12 Thread Martin Cooper
This usually happens when you have your jars in the wrong place and your container also includes (a different version of) FileUpload. Make sure that the Commons FileUpload jar file, as well as the Struts jar file and other Commons jar files, are in your WEB-INF/lib directory, and not in a