You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Andy Brook (JIRA)" <ji...@apache.org> on 2007/04/16 16:26:45 UTC

[jira] Commented: (WW-1885) All form elements are null when form enctype set as multipart

    [ https://issues.apache.org/struts/browse/WW-1885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40809 ] 

Andy Brook commented on WW-1885:
--------------------------------

I had a similar problem with pretty much your config (struts206/jboss 4.05/jdk1.5.0_11).

https://issues.apache.org/struts/browse/WW-1880

It turned out to be a configuration issue - the upload does work (use the showcase example as a pointer) but after the first upload, subsequent uploads failed.  I had a workaround, but the suggestion for *.action fixes the problem for me...

FYI I have a form with n upload files, punching into a List or File[] etc on the server, it works fine, repeatedly!

> All form elements are null when form enctype set as multipart
> -------------------------------------------------------------
>
>                 Key: WW-1885
>                 URL: https://issues.apache.org/struts/browse/WW-1885
>             Project: Struts 2
>          Issue Type: Bug
>          Components: API
>    Affects Versions: 2.0.6
>         Environment: Jboss 4.0.2, Sun JDK 1.5.08
>            Reporter: Hakan Cunier
>
> It works fine when the form tag set non multipart. Else all elements in the action are null. 
> Perhaps it would be fixed in 2.0.7(listed in JIRA) but i cant see a release (not released yet i think) 2.0.7 in struts 2 home page.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.