In the previous Apache Commons FileUpload multi-File Upload article, we introduced http: // use a third-party component ApacheCommons FileUpload to upload multiple files, compared with the Multi-File Upload implemented by struts today, I always feel that it is more convenient and convenient to use struts, so I can share it with you. If you have read the article mentioned above, it will be easier to understand this article and provide the source code for your convenience (Click here to download the source code ). This article is a pure technical article, so I will not talk much about it. Let's take a look at how struts uploads multiple files. 1. first look at the front-end. On the front-end page, add and delete the upload Control Using js. For details, click the "add row" button to add an upload control. Similarly, click "delete" next to the control to remove the upload control. The purpose is to use js to add any number of files. [Html] <span style = "font-family: Microsoft YaHei; font-size: 14px; "> <% @ page language =" java "pageEncoding =" GB18030 "%> <% @ taglib uri =" http://struts.apache.org/tags-html "Prefix =" html "%> <! Doctype html public "-// W3C // dtd html 4.01 Transitional // EN">