2013年4月20日

关于struts2文件上传中的uploadContentType和uploadFileName

摘要: 文件上传页面中,包含两个表单域,文件标题和文件浏览域——当然,为了能完成文件上传,我们应该将这两个表单域所在表单的enctype属性设置为multipart/form-data。该页面的代码如下所示:<html xmlns="" target=_blank _extended="true">http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset= 阅读全文

posted @ 2013-04-20 14:09 学海无尽头 阅读(281) 评论(0) 推荐(0) 编辑

导航