Re: Struts2 upload

2008-11-10 Thread Nick J
Thanks to everyone who responded. It is now working. I removed the - it's not needed I added method="post" to the HTML form element - I had forgotten it. The extends="json-default" in the pacjage is needed because of one of the other actions produces a JSON response. Nick J wrote: > > Hi, I

Re: Struts2 upload

2008-11-02 Thread Struts Two
I had a similar problem and it used to happen whenever the file uploaded had a size larget than the one specified in struts configuration. Try files of small size first to see if you face the same issue (though your problem may be totally different).     - Original Message From: Nick J

Re: Struts2 upload

2008-11-01 Thread Mead Lai
On Sun, Nov 2, 2008 at 6:02 AM, Wes Wannemacher <[EMAIL PROTECTED]> wrote: > what is in the fileUpload interceptor stack? Since the setter is never > called, I would wonder if it is a complete stack. > > When you use in an action definition, you are > overwriting the existing stack with the sta

Re: Struts2 upload

2008-11-01 Thread Wes Wannemacher
what is in the fileUpload interceptor stack? Since the setter is never called, I would wonder if it is a complete stack. When you use in an action definition, you are overwriting the existing stack with the stack you specify. -Wes On Sat, 2008-11-01 at 14:54 -0700, Nick J wrote: > Hi, I am hav