You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Dale Newfield <Da...@Newfield.org> on 2007/09/14 20:14:50 UTC
Re: [struts] file upload exception
Session A Mwamufiya wrote:
> You're right about the button, that's what gets put in the file.
Could it be that you've named the upload the same as the button, so
there are two parameters sent up with the same name, one of which masks
the other?
-Dale
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: [struts] file upload exception
Posted by Session A Mwamufiya <sm...@andrew.cmu.edu>.
The upload is named "upload", and the button is "importButton". I'm not sure why there's a conflict there.
I added the action context cleanup filter in my web.xml file, but that didn't change anything.
One thing I see in my server log is the FileUploadInterceptor that removes the file:
15:08:22,218 INFO [FileUploadInterceptor] Removing file upload C:\jboss-4.2.1.GA\server\default\work\jboss.web\localhost\zen.server\upload__6ea55efc_115055e11c0__7fff_00000004.tmp
Not sure what to make of this interceptor. Though it says it's removing the file, the file is still there until I shutdown JBoss.
> Session A Mwamufiya wrote:
>> You're right about the button, that's what gets put in the file.
>
> Could it be that you've named the upload the same as the button, so there
> are two parameters sent up with the same name, one of which masks the
> other?
>
> -Dale
>
> --------------------------------------------------------------------- To
> unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional
> commands, e-mail: user-help@struts.apache.org
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org