Create a JSP Web site of the BBS forum

Games Forum

Tools: myeclipse10.0 version

Tomacat is externally introduced apache-tomcat-7.0.93

JDK version 1.6.0_13

Unified character encoding to utf-8

One. Establishment of a database ( Chat)

Database name chat

Username root ( default)

Password 123456 (own settings, the default password is blank)

1. The construction of the table

1user

Uid foreign key

( 2 ) the session ( plate table)

( 3 ) Topic (Topic list)

( 4 ) Reply (reply table)

( . 5 ) head ( head storage table triggers)

2. The project required packages

( 1 ) Tomcat in lib in the servlet-api.jar copied to the WEB-INF 's lib under. // use servlet

( 2 ) the mysql-connector-java driver package is copied to the WEB-INF is lib below. // use the drive connection

3. Project database connection

Specific structure

 

log in Register:

head.html    navigation bar

index.jsp     Home  

Login.jsp     login page

regist.jsp     registration page

 

Management system:

AdminMain.jsp       Manager home ( All according to id find )

Adminpassword.Jsp        administrator to modify the password management

Adminselect.jsp       管理账号查询

Adminsession.jsp    所有论坛分类列表(可执行删除)

Admintopic.jsp      所有文章列表(可执行删除)

Adminuser.jsp       所有用户列表(可执行删除)

Atopicone.jsp        管理查看文章详情

Aupdateuser.jsp      用户信息修改(查看)

点:list分页

 

  个人

message.jsp       注册反馈

Person.jsp         个人主页

topicLook.jsp       个人已发表文章查看

topicPublish.jsp     个人文章发表

Peruploadhead,jsp   头像上传

Updateuser.jsp      个人信息修改

点:头像上传

 

论坛及帖子

commentlook.jsp       评论查看(根据帖子id找评论)

commentmessage.jsp    评论发布反馈

luntan.jsp              专题论坛浏览(根据论坛id找帖子)

luntansp.jsp            专题视频浏览

useressay.jsp            所有帖子浏览(判断是否登陆,导航条显示以及是否能够评论)

主页

点:用户帖子查询

 

 

 

上述为论坛结构,此为简单的期末作品并不是毕业设计,多有不完善之处,有空闲时间会改进,也望大神给予建议。

 

Guess you like

Origin www.cnblogs.com/SiyiAya/p/11200178.html