摘要:
Struts2上传多文件也很简单。在Action中把文件对应的属性用数组或者集合接收就可以了。 File[] file; String[] fileFileName; String[] fileContentType; 1、FileUploadAction的代码package cn.luxh.struts2.action;import java.io.File;import java.io.IOException;import java.text.SimpleDateFormat;import java.util.Date;import org.apache.commons.io.... 阅读全文
posted @ 2012-06-27 21:56 CN.programmer.Luxh 阅读(537) 评论(0) 推荐(1) 编辑