随笔 - 230  文章 - 0 评论 - 0 阅读 - 88579
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

随笔分类 -  Struts2

struts2默认临时文件更改
摘要:struts的文件上传mutifile会有一个临时文件地址,如果需要使用自己指定临时文件地址需要在struts.xml中设置以下内容。 <constant name="struts.multipart.saveDir" value="/file"></constant> 阅读全文
posted @ 2018-07-03 19:58 zhaoqiang1980 阅读(115) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示