• 大小: 1.35MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-08-09
  • 语言: 其他
  • 标签: jsp+Mysql  

资源简介

bbs论坛系统毕业设计本人刚答辩完 所以上传上来,供大家学习包括:原码、论文、开题报告经测试本系统能正常运行

资源截图

代码片段和文件信息

package com.bjsxt.bbs;

import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.Date;

public class Article {
private int id;
private int pid; //private Article parent
private int rootId;
private String title;
private String writer1;
private String cont;
private Date pdate;
private boolean isLeaf;
private int grade;
private int pno;
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public int getPid() {
return pid;
}
public void setPid(int pid) {
this.pid = pid;
}
public int getRootId() {
return rootId;
}
public void setRootId(int rootId) {
this.rootId = rootId;
}
public String getWriter1() {
return writer1;
}
public void setWriter1(String writer1) {
this.writer1 = writer1;
}
public String gettitle() {
return title;
}
public void settitle(String title) {
this.title = title;
}
public String getCont() {
return cont;
}
public void setCont(String cont) {
this.cont = cont;
}
public Date getPdate() {
return pdate;
}
public void setPdate(Date pdate) {
this.pdate = pdate;
}
public boolean isLeaf() {
return isLeaf;
}
public void setLeaf(boolean isLeaf) {
this.isLeaf = isLeaf;
}
public int getGrade() {
return grade;
}
public void setGrade(int grade) {
this.grade = grade;
}
public int getPno() {
return pno;
}
public void setPno(int grade) {
this.pno = pno;
}

public void initFromRs(ResultSet rs) {
try {
setId(rs.getInt(“id“));
setPid(rs.getInt(“pid“));
setRootId(rs.getInt(“rootid“));
settitle(rs.getString(“title“));
setWriter1(rs.getString(“writer“));
setLeaf(rs.getInt(“isleaf“) == 0 ? true : false);
setPdate(rs.getTimestamp(“pdate“));
setCont(rs.getString(“cont“));
setGrade(0);
setPno(rs.getInt(“pno“));
} catch (SQLException e) {
e.printStackTrace();
}
}
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件        434  2007-09-14 15:03  BBS\.classpath

     文件        282  2008-05-06 16:12  BBS\.mymetadata

     文件       1221  2007-09-14 10:54  BBS\.project

     文件        765  2008-04-16 19:28  BBS\SQL\bbs.sql

     文件         71  2007-09-17 15:32  BBS\SQL\test.sql

     文件       1948  2008-03-12 20:15  BBS\src\com\bjsxt\bbs\Article.java

     文件       2741  2008-03-12 15:57  BBS\src\com\bjsxt\bbs\DB.java

     文件       1257  2008-04-17 21:08  BBS\src\dbmgr\DBConMgr.java

     文件       3103  2008-04-18 11:09  BBS\src\dbmgr\UserMgr.java

     文件       1593  2008-04-16 13:15  BBS\src\userbean\User.java

     文件       9456  2008-04-15 16:44  BBS\WebRoot\articleDetailFlat.jsp

     文件       9098  2008-04-15 16:29  BBS\WebRoot\articleFlat.jsp

     文件       7513  2008-04-18 11:22  BBS\WebRoot\articleFlat1.jsp

     文件        926  2008-03-12 13:29  BBS\WebRoot\articleSearch.jsp

     文件       1565  2008-04-18 11:23  BBS\WebRoot\delete.jsp

     文件        527  2008-04-18 11:09  BBS\WebRoot\deleteUser.jsp

     文件        236  2007-09-15 09:47  BBS\WebRoot\fckeditor\editor\css\behaviors\disablehandles.htc

     文件        822  2007-09-15 09:47  BBS\WebRoot\fckeditor\editor\css\behaviors\showtableborders.htc

     文件       2040  2007-09-15 09:47  BBS\WebRoot\fckeditor\editor\css\fck_editorarea.css

     文件       2550  2007-09-15 09:47  BBS\WebRoot\fckeditor\editor\css\fck_internal.css

     文件       1514  2007-09-15 09:47  BBS\WebRoot\fckeditor\editor\css\fck_showtableborders_gecko.css

     文件        184  2007-09-15 09:47  BBS\WebRoot\fckeditor\editor\css\images\fck_anchor.gif

     文件        599  2007-09-15 09:47  BBS\WebRoot\fckeditor\editor\css\images\fck_flashlogo.gif

     文件        105  2007-09-15 09:47  BBS\WebRoot\fckeditor\editor\css\images\fck_hiddenfield.gif

     文件         54  2007-09-15 09:47  BBS\WebRoot\fckeditor\editor\css\images\fck_pagebreak.gif

     文件        439  2007-09-15 09:47  BBS\WebRoot\fckeditor\editor\dialog\common\fcknumericfield.htc

     文件       1662  2007-09-15 09:47  BBS\WebRoot\fckeditor\editor\dialog\common\fck_dialog_common.css

     文件       4106  2007-09-15 09:47  BBS\WebRoot\fckeditor\editor\dialog\common\fck_dialog_common.js

     文件         74  2007-09-15 09:47  BBS\WebRoot\fckeditor\editor\dialog\common\images\locked.gif

     文件        104  2007-09-15 09:47  BBS\WebRoot\fckeditor\editor\dialog\common\images\reset.gif

............此处省略551个文件信息

评论

共有 条评论

相关资源