RE: File Upload error

2003-08-21 Thread Erez Efrati
, 2003 4:48 PM To: 'Struts Users Mailing List' Subject: RE: File Upload error Make sure you do not have another file upload jar in your classpath. Where are you hosting your app, what OS? Alex. > -Original Message- > From: Erez Efrati [mailto:[EMAIL PROTECTED] > Sent:

RE: File Upload error

2003-08-21 Thread Alex Shneyderman
Make sure you do not have another file upload jar in your classpath. Where are you hosting your app, what OS? Alex. > -Original Message- > From: Erez Efrati [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 21, 2003 11:14 AM > To: 'Struts Users Mailing List'

File Upload error

2003-08-21 Thread Erez Efrati
Hi, I am trying to do file uploading of several files and I keep getting the following error: java.lang.NoSuchMethodError: org.apache.commons.fileupload.MultipartStream.setHeaderEncoding(Ljava/la ng/String;)V I am using JBoss/Tomcat 4.1.24. The upload struts sample works just fine under 4.1.27 -

Re: File upload error when no file attached - IOException

2002-01-04 Thread Daniel WAMARA
Hi Doug, I don't know if you've already found solution to your problem but what you can do is to put a form validation in your ActionForm that handles that, here is what I did for mine (it also handles the case if a file is empty, saying with a 0 Kb size) : /** * Validate the propert

File upload error when no file attached - IOException

2001-12-30 Thread list
Hello, There is a section of our app that allows a user to upload a file as an attachment. It is optional to upload a file, but other information on the page is mandatory. If no file is attached, the application hangs before executing the Action that processes the form. This only occurrs whe

File upload error when no file attached - IOException

2001-12-30 Thread list
Hello, There is a section of our app that allows a user to upload a file as an attachment. It is optional to upload a file, but other information on the page is mandatory. If no file is attached, the application hangs before executing the Action that processes the form. This only occurrs when