Description: UpDown是一个基于struts进行文件上传与下载的例子。-UpDown is a struts-based file upload and download for example. Platform: |
Size: 1222656 |
Author:锥峰傲骨 |
Hits:
Description: 多文件 上传 下载 随意文件 java Struts2 单例 配置 动态读取在网络上,对于Java 处理文件上传和下载的技术比较多,而Struts 作为一款优秀的框
架也提供了非常方便的文件上传和下载,而网上的一些例程都非常的不全面,概括来:
1) 文件上传比较多,多文件上传少一点
2) 文件下载很少的,看似简单,实则不然
3) 文件下载一般都是单文件或者固定的文件,并没有(很少)实现随意文件的下载的例子
最近也在研究一下文件的上传和下载,在整合网上、浪曦风中叶老师和自己的学习的思
想,写了这个工程,提供给大家参考,所以的代码终在IE、FireFox、Chrome 测试通过。-On the web, for Java document handling upload and download technology is more, and as a good Struts framework also provides very convenient file upload and download, and some of the routines online is not comprehensive, summarizing:
1) file upload is more, more file upload a bit less
2) file download little, look be like simple, actually otherwise
3) file download is usually single document or fixed files, and no (rarely) at the download file realization example
In a recent study of the documents also upload and download, in integrating the middle of the wind and the waves online dongxi teachers and their learning thought, wrote this project, provide everyone reference, so will the code in IE, FireFox, Chrome test is passed.
Platform: |
Size: 607232 |
Author:charmy |
Hits: