资源简介
Spring + Struts2 +Hibernate整合的小例子,从网上dwon的,已经测试可以运行。上传上来方便以后看。
代码片段和文件信息
package com.bestsoft.ssh.bean.upload;
/**
* FileUpload entity.
*
* @author MyEclipse Persistence Tools
*/
public class FileUpload implements java.io.Serializable {
private static final long serialVersionUID = 7995776093446545422L;
private String fileId;
private String fileSrcName;
private String fileSaveName;
private String fileUrl;
private String uploadTime;
private Integer deleteFlag;
private String memo;
private Integer prepare1;
private String prepare2;
private String prepare3;
// Constructors
/** default constructor */
public FileUpload() {
}
/** minimal constructor */
public FileUpload(String fileId) {
this.fileId = fileId;
}
/** full constructor */
public FileUpload(String fileId String fileSrcName String fileSaveName
String fileUrl String uploadTime Integer deleteFlag String memo
Integer prepare1 String prepare2 String prepare3) {
this.fileId = fileId;
this.fileSrcName = fileSrcName;
this.fileSaveName = fileSaveName;
this.fileUrl = fileUrl;
this.uploadTime = uploadTime;
this.deleteFlag = deleteFlag;
this.memo = memo;
this.prepare1 = prepare1;
this.prepare2 = prepare2;
this.prepare3 = prepare3;
}
// Property accessors
public String getFileId() {
return this.fileId;
}
public void setFileId(String fileId) {
this.fileId = fileId;
}
public String getFileSrcName() {
return this.fileSrcName;
}
public void setFileSrcName(String fileSrcName) {
this.fileSrcName = fileSrcName;
}
public String getFileSaveName() {
return this.fileSaveName;
}
public void setFileSaveName(String fileSaveName) {
this.fileSaveName = fileSaveName;
}
public String getFileUrl() {
return this.fileUrl;
}
public void setFileUrl(String fileUrl) {
this.fileUrl = fileUrl;
}
public String getUploadTime() {
return this.uploadTime;
}
public void setUploadTime(String uploadTime) {
this.uploadTime = uploadTime;
}
public Integer getDeleteFlag() {
return this.deleteFlag;
}
public void setDeleteFlag(Integer deleteFlag) {
this.deleteFlag = deleteFlag;
}
public String getMemo() {
return this.memo;
}
public void setMemo(String memo) {
this.memo = memo;
}
public Integer getPrepare1() {
return this.prepare1;
}
public void setPrepare1(Integer prepare1) {
this.prepare1 = prepare1;
}
public String getPrepare2() {
return this.prepare2;
}
public void setPrepare2(String prepare2) {
this.prepare2 = prepare2;
}
public String getPrepare3() {
return this.prepare3;
}
public void setPrepare3(String prepare3) {
this.prepare3 = prepare3;
}
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 412 2009-09-07 14:00 ssh\.classpath
文件 505 2009-07-24 16:25 ssh\.myhibernatedata
文件 282 2009-08-10 16:28 ssh\.myme
文件 66 2009-04-21 18:22 ssh\.myumldata
文件 1611 2009-08-25 10:28 ssh\.project
文件 500 2009-08-25 10:28 ssh\.settings\.jsdtscope
文件 107 2009-04-21 18:22 ssh\.settings\com.genuitec.eclipse.core.prefs
文件 257 2009-09-07 14:03 ssh\.settings\org.eclipse.core.resources.prefs
文件 1570 2009-08-05 10:16 ssh\.settings\org.eclipse.core.resources.prefs.bak
文件 49 2009-08-25 10:28 ssh\.settings\org.eclipse.wst.jsdt.ui.superType.container
文件 6 2009-08-25 10:28 ssh\.settings\org.eclipse.wst.jsdt.ui.superType.name
文件 1859 2009-09-03 12:32 ssh\.settings\org.eclipse.wst.validation.prefs
文件 1413 2009-09-07 16:38 ssh\doc\upload.sql
文件 37376 2009-09-07 15:17 ssh\doc\数据库设计报告.doc
文件 58880 2009-09-07 15:19 ssh\doc\标签需求、设计说明书.doc
文件 1756 2009-06-23 09:26 ssh\src\com\bestsoft\ssh\bean\upload\FileUpload.hbm.xm
文件 2724 2009-06-23 09:26 ssh\src\com\bestsoft\ssh\bean\upload\FileUpload.java
文件 512 2009-09-07 13:50 ssh\src\com\bestsoft\ssh\comm\DateTime.java
文件 4261 2009-08-27 09:32 ssh\src\com\bestsoft\ssh\comm\FileUtil.java
文件 2468 2009-08-27 10:25 ssh\src\com\bestsoft\ssh\comm\PropertiesReader.java
文件 1795 2009-09-04 12:20 ssh\src\com\bestsoft\ssh\comm\upload\UploadTag.java
文件 1443 2009-09-07 13:57 ssh\src\com\bestsoft\ssh\comm\Util.java
文件 1550 2009-09-07 14:25 ssh\src\com\bestsoft\ssh\dao\hibernate\upload\FileUploadHibernateDAO.java
文件 707 2009-09-07 14:24 ssh\src\com\bestsoft\ssh\dao\upload\IFileUploadDAO.java
文件 1598 2009-08-05 00:11 ssh\src\com\bestsoft\ssh\databean\UploadFile.java
文件 1007 2009-06-08 12:06 ssh\src\com\bestsoft\ssh\service\conf\MyOpenSessionInViewFilter.java
文件 1399 2009-09-07 15:02 ssh\src\com\bestsoft\ssh\service\impl\upload\FileUploadServiceImpl.java
文件 719 2009-09-07 14:23 ssh\src\com\bestsoft\ssh\service\upload\IFileUploadService.java
文件 13447 2009-09-07 15:02 ssh\src\com\bestsoft\ssh\web\action\upload\UploadFileAction.java
文件 1205 2009-09-07 14:37 ssh\src\init.properties
............此处省略110个文件信息
- 上一篇:java密保卡生成 源码
- 下一篇:JSP设备管理系统源码
评论
共有 条评论