lampa wrote:
  According to Struts 2 , the "name" must be assigned as "upload". However,
why not the "name" are assigned to different value? just like it :
  <s:file name="upload1" />
  <s:file name="upload2" />
  <s:file name="upload3"/>

  If so, we can very clear that  which input tag submit the upload file in
the JSP. Because after upload file is submitted, the upload file will be put
into a list, you cannot find which tag submit the upload file.

I just think there is something inconvenient. Who can give me some advices ?

The example I assume you're referring to [1] is specifically using a File[] for the upload values. That shouldn't imply you *must* to use an array--only that you *may*.

Dave

[1] http://struts.apache.org/2.x/docs/file-upload.html

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to