I had problems with Struts 2 and File Upload in AppFuse 2.  Upgrading
to commons-fileupload 1.1.1 and commons-io 1.1 fixed the problem.

You might try upgrading to Struts 2.0.4:

http://people.apache.org/builds/struts/2.0.4/

Matt

On 1/31/07, Tim Azzopardi <[EMAIL PROTECTED]> wrote:

I'm using appfuse 1.9.4 converted from webwork to struts2 (2.0.1) with iBatis
under java6 on windows XPsp2

The File Upload page works... occasionally. I have a sucess rate of
something like 1 in 10 attempts.

I almost always get the message,

"Note that the maximum allowed size of an uploaded file for this application
is 2 MB. See web/WEB-INF/classes/struts.properties to change this value."

Then, occasionally it works. It has only ever worked for text files.


When I Debug into the action execute method, I find that "file" is usually
null. (Apart from the 1 in 10 times when it works)

I cannot work out what conditions make it work and what don't.

Anybody having similar problems (maybe with appfuse2)? Is there a
workaround?




--
View this message in context: 
http://www.nabble.com/struts2-file-upload-very-unreliable--tf3148047s2369.html#a8726998
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
http://raibledesigns.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to