ssh2文件上传和下载实例

上传者: sunjava1 | 上传时间: 2013-10-23 00:00:00 | 文件大小: 3.87MB | 文件类型: zip
很实用的一个利用struts2结合ssh2框架实现文件上传的例子,把工程导入myeclipce就可以运行,最大支持2G的文件上传,数据库使用mysql,建库语句在工程里面有,分享给大家

文件下载

资源详情

( 76 个子文件 3.87MB ) ssh2文件上传和下载实例
ssh2文件上传和下载实例
ssh2Down
.springBeans 479B
.myhibernatedata 529B
src
filter
EncodingFilter.java 1.63KB
ssh2Down
dao
Downrecord.java 1.28KB
Webdisk.hbm.xml 1.33KB
Webdisk.java 1.87KB
Downfile.java 2.17KB
Downrecord.hbm.xml 1001B
DownrecordDAO.java 4.09KB
Users.java 2.06KB
UsersDAO.java 4.38KB
Users.hbm.xml 1.54KB
Downfile.hbm.xml 1.54KB
WebdiskDAO.java 4.96KB
DownfileDAO.java 5.01KB
action
WebAction.java 4.07KB
UserAction.java 2.00KB
FileAction.java 4.97KB
serviceImpl
UserServiceImpl.java 601B
WebServiceImpl.java 2.65KB
FileServiceImpl.java 3.42KB
service
WebService.java 298B
UserService.java 188B
FileService.java 408B
struts.xml 3.14KB
util
FileOperate.java 13.40KB
.project 1.60KB
WebRoot
downRecordList.jsp 786B
META-INF
MANIFEST.MF 39B
top.jsp 947B
WEB-INF
web.xml 1.33KB
classes
filter
EncodingFilter.class 1.89KB
ssh2Down
dao
Downfile.class 2.67KB
WebdiskDAO.class 5.69KB
Webdisk.hbm.xml 1.33KB
UsersDAO.class 5.27KB
DownfileDAO.class 5.71KB
DownrecordDAO.class 4.98KB
Downrecord.hbm.xml 1001B
Webdisk.class 2.29KB
Users.hbm.xml 1.54KB
Downrecord.class 1.64KB
Downfile.hbm.xml 1.54KB
Users.class 2.49KB
action
UserAction.class 2.33KB
WebAction.class 5.42KB
FileAction.class 6.40KB
serviceImpl
FileServiceImpl.class 5.18KB
WebServiceImpl.class 4.17KB
UserServiceImpl.class 985B
service
WebService.class 363B
FileService.class 450B
UserService.class 260B
struts.xml 3.00KB
util
FileOperate.class 8.13KB
lib
xwork-2.0.5.jar 446.85KB
commons-logging-1.0.4.jar 37.12KB
struts2-spring-plugin-2.0.11.jar 8.80KB
mysql-connector-java-5.0.4-bin.jar 484.32KB
commons-io-1.1.jar 60.12KB
ognl-2.6.11.jar 164.14KB
struts2-core-2.0.11.2.jar 2.22MB
commons-fileupload-1.1.1.jar 31.16KB
freemarker-2.3.8.jar 783.69KB
spring.tld 13.19KB
spring-form.tld 50.89KB
applicationContext.xml 2.95KB
webdisk.jsp 1.26KB
login.jsp 421B
search.jsp 1.05KB
index.jsp 819B
SQL Editor (0).sql 1.23KB
register.jsp 473B
upload.jsp 534B
.mymetadata 297B
.classpath 1.84KB
.myeclipse
[{"title":"( 76 个子文件 3.87MB ) ssh2文件上传和下载实例","children":[{"title":"ssh2文件上传和下载实例","children":[{"title":"ssh2Down","children":[{"title":".springBeans <span style='color:#111;'> 479B </span>","children":null,"spread":false},{"title":".myhibernatedata <span style='color:#111;'> 529B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"filter","children":[{"title":"EncodingFilter.java <span style='color:#111;'> 1.63KB </span>","children":null,"spread":false}],"spread":true},{"title":"ssh2Down","children":[{"title":"dao","children":[{"title":"Downrecord.java <span style='color:#111;'> 1.28KB </span>","children":null,"spread":false},{"title":"Webdisk.hbm.xml <span style='color:#111;'> 1.33KB </span>","children":null,"spread":false},{"title":"Webdisk.java <span style='color:#111;'> 1.87KB </span>","children":null,"spread":false},{"title":"Downfile.java <span style='color:#111;'> 2.17KB </span>","children":null,"spread":false},{"title":"Downrecord.hbm.xml <span style='color:#111;'> 1001B </span>","children":null,"spread":false},{"title":"DownrecordDAO.java <span style='color:#111;'> 4.09KB </span>","children":null,"spread":false},{"title":"Users.java <span style='color:#111;'> 2.06KB </span>","children":null,"spread":false},{"title":"UsersDAO.java <span style='color:#111;'> 4.38KB </span>","children":null,"spread":false},{"title":"Users.hbm.xml <span style='color:#111;'> 1.54KB </span>","children":null,"spread":false},{"title":"Downfile.hbm.xml <span style='color:#111;'> 1.54KB </span>","children":null,"spread":false},{"title":"WebdiskDAO.java <span style='color:#111;'> 4.96KB </span>","children":null,"spread":false},{"title":"DownfileDAO.java <span style='color:#111;'> 5.01KB </span>","children":null,"spread":false}],"spread":false},{"title":"action","children":[{"title":"WebAction.java <span style='color:#111;'> 4.07KB </span>","children":null,"spread":false},{"title":"UserAction.java <span style='color:#111;'> 2.00KB </span>","children":null,"spread":false},{"title":"FileAction.java <span style='color:#111;'> 4.97KB </span>","children":null,"spread":false}],"spread":true},{"title":"serviceImpl","children":[{"title":"UserServiceImpl.java <span style='color:#111;'> 601B </span>","children":null,"spread":false},{"title":"WebServiceImpl.java <span style='color:#111;'> 2.65KB </span>","children":null,"spread":false},{"title":"FileServiceImpl.java <span style='color:#111;'> 3.42KB </span>","children":null,"spread":false}],"spread":true},{"title":"service","children":[{"title":"WebService.java <span style='color:#111;'> 298B </span>","children":null,"spread":false},{"title":"UserService.java <span style='color:#111;'> 188B </span>","children":null,"spread":false},{"title":"FileService.java <span style='color:#111;'> 408B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"struts.xml <span style='color:#111;'> 3.14KB </span>","children":null,"spread":false},{"title":"util","children":[{"title":"FileOperate.java <span style='color:#111;'> 13.40KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":".project <span style='color:#111;'> 1.60KB </span>","children":null,"spread":false},{"title":"WebRoot","children":[{"title":"downRecordList.jsp <span style='color:#111;'> 786B </span>","children":null,"spread":false},{"title":"META-INF","children":[{"title":"MANIFEST.MF <span style='color:#111;'> 39B </span>","children":null,"spread":false}],"spread":true},{"title":"top.jsp <span style='color:#111;'> 947B </span>","children":null,"spread":false},{"title":"WEB-INF","children":[{"title":"web.xml <span style='color:#111;'> 1.33KB </span>","children":null,"spread":false},{"title":"classes","children":[{"title":"filter","children":[{"title":"EncodingFilter.class <span style='color:#111;'> 1.89KB </span>","children":null,"spread":false}],"spread":true},{"title":"ssh2Down","children":[{"title":"dao","children":[{"title":"Downfile.class <span style='color:#111;'> 2.67KB </span>","children":null,"spread":false},{"title":"WebdiskDAO.class <span style='color:#111;'> 5.69KB </span>","children":null,"spread":false},{"title":"Webdisk.hbm.xml <span style='color:#111;'> 1.33KB </span>","children":null,"spread":false},{"title":"UsersDAO.class <span style='color:#111;'> 5.27KB </span>","children":null,"spread":false},{"title":"DownfileDAO.class <span style='color:#111;'> 5.71KB </span>","children":null,"spread":false},{"title":"DownrecordDAO.class <span style='color:#111;'> 4.98KB </span>","children":null,"spread":false},{"title":"Downrecord.hbm.xml <span style='color:#111;'> 1001B </span>","children":null,"spread":false},{"title":"Webdisk.class <span style='color:#111;'> 2.29KB </span>","children":null,"spread":false},{"title":"Users.hbm.xml <span style='color:#111;'> 1.54KB </span>","children":null,"spread":false},{"title":"Downrecord.class <span style='color:#111;'> 1.64KB </span>","children":null,"spread":false},{"title":"Downfile.hbm.xml <span style='color:#111;'> 1.54KB </span>","children":null,"spread":false},{"title":"Users.class <span style='color:#111;'> 2.49KB </span>","children":null,"spread":false}],"spread":false},{"title":"action","children":[{"title":"UserAction.class <span style='color:#111;'> 2.33KB </span>","children":null,"spread":false},{"title":"WebAction.class <span style='color:#111;'> 5.42KB </span>","children":null,"spread":false},{"title":"FileAction.class <span style='color:#111;'> 6.40KB </span>","children":null,"spread":false}],"spread":false},{"title":"serviceImpl","children":[{"title":"FileServiceImpl.class <span style='color:#111;'> 5.18KB </span>","children":null,"spread":false},{"title":"WebServiceImpl.class <span style='color:#111;'> 4.17KB </span>","children":null,"spread":false},{"title":"UserServiceImpl.class <span style='color:#111;'> 985B </span>","children":null,"spread":false}],"spread":false},{"title":"service","children":[{"title":"WebService.class <span style='color:#111;'> 363B </span>","children":null,"spread":false},{"title":"FileService.class <span style='color:#111;'> 450B </span>","children":null,"spread":false},{"title":"UserService.class <span style='color:#111;'> 260B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"struts.xml <span style='color:#111;'> 3.00KB </span>","children":null,"spread":false},{"title":"util","children":[{"title":"FileOperate.class <span style='color:#111;'> 8.13KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"lib","children":[{"title":"xwork-2.0.5.jar <span style='color:#111;'> 446.85KB </span>","children":null,"spread":false},{"title":"commons-logging-1.0.4.jar <span style='color:#111;'> 37.12KB </span>","children":null,"spread":false},{"title":"struts2-spring-plugin-2.0.11.jar <span style='color:#111;'> 8.80KB </span>","children":null,"spread":false},{"title":"mysql-connector-java-5.0.4-bin.jar <span style='color:#111;'> 484.32KB </span>","children":null,"spread":false},{"title":"commons-io-1.1.jar <span style='color:#111;'> 60.12KB </span>","children":null,"spread":false},{"title":"ognl-2.6.11.jar <span style='color:#111;'> 164.14KB </span>","children":null,"spread":false},{"title":"struts2-core-2.0.11.2.jar <span style='color:#111;'> 2.22MB </span>","children":null,"spread":false},{"title":"commons-fileupload-1.1.1.jar <span style='color:#111;'> 31.16KB </span>","children":null,"spread":false},{"title":"freemarker-2.3.8.jar <span style='color:#111;'> 783.69KB </span>","children":null,"spread":false}],"spread":true},{"title":"spring.tld <span style='color:#111;'> 13.19KB </span>","children":null,"spread":false},{"title":"spring-form.tld <span style='color:#111;'> 50.89KB </span>","children":null,"spread":false},{"title":"applicationContext.xml <span style='color:#111;'> 2.95KB </span>","children":null,"spread":false}],"spread":true},{"title":"webdisk.jsp <span style='color:#111;'> 1.26KB </span>","children":null,"spread":false},{"title":"login.jsp <span style='color:#111;'> 421B </span>","children":null,"spread":false},{"title":"search.jsp <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"index.jsp <span style='color:#111;'> 819B </span>","children":null,"spread":false},{"title":"SQL Editor (0).sql <span style='color:#111;'> 1.23KB </span>","children":null,"spread":false},{"title":"register.jsp <span style='color:#111;'> 473B </span>","children":null,"spread":false},{"title":"upload.jsp <span style='color:#111;'> 534B </span>","children":null,"spread":false}],"spread":false},{"title":".mymetadata <span style='color:#111;'> 297B </span>","children":null,"spread":false},{"title":".classpath <span style='color:#111;'> 1.84KB </span>","children":null,"spread":false},{"title":".myeclipse","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

  • xuquanyu8114 :
    白下了这个。不就是一个文件上传的功能吗,一个类不就完了。活生生的一大推代码。就算能用,效率也太弱了。这种方法都不想去理解。。。
    2017-11-23
  • level罗 :
    导入之后报错啊,骗积分的
    2017-01-10
  • zhangsanhenfan :
    有点问题得调试
    2015-08-05
  • 贱人王三羊 :
    有助于学习,挺好使的,谢谢。。。
    2015-05-27
  • 周浩浩浩浩浩浩 :
    有错啊,运行无法通过。
    2015-05-13

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明
服务器状态检查中...