• 大小: 1.41MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-09-28
  • 语言: Java
  • 标签: mysql,jsp  

资源简介

这是一个具有基本功能的BBS论坛系统,是用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论坛jsp+mysql\BBS\.classpath

     文件        282  2008-05-06 16:12  BBS论坛jsp+mysql\BBS\.mymetadata

     文件       1409  2011-12-17 12:00  BBS论坛jsp+mysql\BBS\.project

     文件        500  2011-12-17 11:53  BBS论坛jsp+mysql\BBS\.settings\.jsdtscope

     文件        330  2011-12-17 11:53  BBS论坛jsp+mysql\BBS\.settings\org.eclipse.jdt.core.prefs

     文件         49  2011-12-17 12:00  BBS论坛jsp+mysql\BBS\.settings\org.eclipse.wst.jsdt.ui.superType.container

     文件          6  2011-12-17 12:00  BBS论坛jsp+mysql\BBS\.settings\org.eclipse.wst.jsdt.ui.superType.name

     文件       1948  2008-03-12 20:15  BBS论坛jsp+mysql\BBS\src\com\bjsxt\bbs\Article.java

     文件       2739  2011-12-17 13:08  BBS论坛jsp+mysql\BBS\src\com\bjsxt\bbs\DB.java

     文件       1314  2011-12-17 12:24  BBS论坛jsp+mysql\BBS\src\dbmgr\DBConMgr.java

     文件       3202  2011-12-17 12:14  BBS论坛jsp+mysql\BBS\src\dbmgr\UserMgr.java

     文件       1651  2011-12-17 13:10  BBS论坛jsp+mysql\BBS\src\userbean\User.java

     文件       9480  2011-12-17 13:42  BBS论坛jsp+mysql\BBS\WebRoot\articleDetailFlat.jsp

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

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

     文件        925  2011-12-17 13:19  BBS论坛jsp+mysql\BBS\WebRoot\articleSearch.jsp

     文件       1564  2011-12-17 13:18  BBS论坛jsp+mysql\BBS\WebRoot\delete.jsp

     文件        526  2011-12-17 13:19  BBS论坛jsp+mysql\BBS\WebRoot\deleteUser.jsp

     文件        236  2007-09-15 09:47  BBS论坛jsp+mysql\BBS\WebRoot\fckeditor\editor\css\behaviors\disablehandles.htc

     文件        822  2007-09-15 09:47  BBS论坛jsp+mysql\BBS\WebRoot\fckeditor\editor\css\behaviors\showtableborders.htc

     文件       2040  2007-09-15 09:47  BBS论坛jsp+mysql\BBS\WebRoot\fckeditor\editor\css\fck_editorarea.css

     文件       2550  2007-09-15 09:47  BBS论坛jsp+mysql\BBS\WebRoot\fckeditor\editor\css\fck_internal.css

     文件       1514  2007-09-15 09:47  BBS论坛jsp+mysql\BBS\WebRoot\fckeditor\editor\css\fck_showtableborders_gecko.css

     文件        184  2007-09-15 09:47  BBS论坛jsp+mysql\BBS\WebRoot\fckeditor\editor\css\images\fck_anchor.gif

     文件        599  2007-09-15 09:47  BBS论坛jsp+mysql\BBS\WebRoot\fckeditor\editor\css\images\fck_flashlogo.gif

     文件        105  2007-09-15 09:47  BBS论坛jsp+mysql\BBS\WebRoot\fckeditor\editor\css\images\fck_hiddenfield.gif

     文件         54  2007-09-15 09:47  BBS论坛jsp+mysql\BBS\WebRoot\fckeditor\editor\css\images\fck_pagebreak.gif

     文件        439  2007-09-15 09:47  BBS论坛jsp+mysql\BBS\WebRoot\fckeditor\editor\dialog\common\fcknumericfield.htc

     文件       1662  2007-09-15 09:47  BBS论坛jsp+mysql\BBS\WebRoot\fckeditor\editor\dialog\common\fck_dialog_common.css

     文件       4106  2007-09-15 09:47  BBS论坛jsp+mysql\BBS\WebRoot\fckeditor\editor\dialog\common\fck_dialog_common.js

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

评论

共有 条评论

相关资源