文件名称:Liu_Yan_Ban
-
所属分类:
- 标签属性:
- 上传时间:2014-04-12
-
文件大小:3.64mb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
JSP写的简单留言板小系统
所用到的类主要方法作用及属性有:
LoginAction.java:
属性:
User user=new User() // 用户
方法:
public String execute():判断用户是否存在
Page.java
属性:
private int lastpage, nowpage, prepage, nextpage
//main.jsp里实现显示留言的4个指标
方法:
对应的getXX(),setXX()方法
User.java
属性:
private String username //用户名
private String password //密码
方法:
对应的getXX(),setXX()方法
DBConn.java
属性:
Connection con=null //连接
PreparedStatement ps=null //命令对象
ResultSet rs=null //结果集
String sql //sql语句
方法:
public DBConn():连接数据库
public User checkUser(String username,String password):检查用户是否存在
public boolean register(String username,String password1):将注册信息写入数据库
public void savemsg(String name,String note):将留言信息写入数据库-JSP
message board
所用到的类主要方法作用及属性有:
LoginAction.java:
属性:
User user=new User() // 用户
方法:
public String execute():判断用户是否存在
Page.java
属性:
private int lastpage, nowpage, prepage, nextpage
//main.jsp里实现显示留言的4个指标
方法:
对应的getXX(),setXX()方法
User.java
属性:
private String username //用户名
private String password //密码
方法:
对应的getXX(),setXX()方法
DBConn.java
属性:
Connection con=null //连接
PreparedStatement ps=null //命令对象
ResultSet rs=null //结果集
String sql //sql语句
方法:
public DBConn():连接数据库
public User checkUser(String username,String password):检查用户是否存在
public boolean register(String username,String password1):将注册信息写入数据库
public void savemsg(String name,String note):将留言信息写入数据库-JSP
message board
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Liu_Yan_Ban/
Liu_Yan_Ban/.classpath
Liu_Yan_Ban/.project
Liu_Yan_Ban/.settings/
Liu_Yan_Ban/.settings/.jsdtscope
Liu_Yan_Ban/.settings/org.eclipse.core.resources.prefs
Liu_Yan_Ban/.settings/org.eclipse.jdt.core.prefs
Liu_Yan_Ban/.settings/org.eclipse.wst.common.component
Liu_Yan_Ban/.settings/org.eclipse.wst.common.project.facet.core.xml
Liu_Yan_Ban/.settings/org.eclipse.wst.jsdt.ui.superType.container
Liu_Yan_Ban/.settings/org.eclipse.wst.jsdt.ui.superType.name
Liu_Yan_Ban/100814405.mdb
Liu_Yan_Ban/WebContent/
Liu_Yan_Ban/WebContent/META-INF/
Liu_Yan_Ban/WebContent/META-INF/MANIFEST.MF
Liu_Yan_Ban/WebContent/WEB-INF/
Liu_Yan_Ban/WebContent/WEB-INF/classes/
Liu_Yan_Ban/WebContent/WEB-INF/lib/
Liu_Yan_Ban/WebContent/WEB-INF/lib/commons-fileupload-1.2.2.jar
Liu_Yan_Ban/WebContent/WEB-INF/lib/commons-io-2.0.1.jar
Liu_Yan_Ban/WebContent/WEB-INF/lib/commons-lang3-3.1.jar
Liu_Yan_Ban/WebContent/WEB-INF/lib/commons-logging-1.1.1.jar
Liu_Yan_Ban/WebContent/WEB-INF/lib/freemarker-2.3.19.jar
Liu_Yan_Ban/WebContent/WEB-INF/lib/javassist-3.11.0.GA.jar
Liu_Yan_Ban/WebContent/WEB-INF/lib/ognl-3.0.6.jar
Liu_Yan_Ban/WebContent/WEB-INF/lib/struts2-core-2.3.14.2.jar
Liu_Yan_Ban/WebContent/WEB-INF/lib/xwork-core-2.3.14.2.jar
Liu_Yan_Ban/WebContent/WEB-INF/web.xml
Liu_Yan_Ban/WebContent/login.jsp
Liu_Yan_Ban/WebContent/login_failed.jsp
Liu_Yan_Ban/WebContent/main.jsp
Liu_Yan_Ban/WebContent/msg.html
Liu_Yan_Ban/WebContent/picture/
Liu_Yan_Ban/WebContent/picture/1.jpg
Liu_Yan_Ban/WebContent/picture/Thumbs.db
Liu_Yan_Ban/WebContent/picture/first.jpg
Liu_Yan_Ban/WebContent/picture/icon0.jpg
Liu_Yan_Ban/WebContent/picture/icon1.jpg
Liu_Yan_Ban/WebContent/picture/icon2.jpg
Liu_Yan_Ban/WebContent/picture/icon3.jpg
Liu_Yan_Ban/WebContent/picture/icon4.jpg
Liu_Yan_Ban/WebContent/picture/last.jpg
Liu_Yan_Ban/WebContent/picture/msg.jpg
Liu_Yan_Ban/WebContent/picture/next.jpg
Liu_Yan_Ban/WebContent/picture/previous.jpg
Liu_Yan_Ban/WebContent/register.jsp
Liu_Yan_Ban/WebContent/register_action.jsp
Liu_Yan_Ban/WebContent/register_failed.jsp
Liu_Yan_Ban/WebContent/register_success.jsp
Liu_Yan_Ban/WebContent/save_msg.jsp
Liu_Yan_Ban/build/
Liu_Yan_Ban/build/classes/
Liu_Yan_Ban/build/classes/PageEncodingFilter.class
Liu_Yan_Ban/build/classes/action/
Liu_Yan_Ban/build/classes/action/LoginAction.class
Liu_Yan_Ban/build/classes/bean/
Liu_Yan_Ban/build/classes/bean/Page.class
Liu_Yan_Ban/build/classes/bean/User.class
Liu_Yan_Ban/build/classes/db/
Liu_Yan_Ban/build/classes/db/DBConn.class
Liu_Yan_Ban/build/classes/struts.xml
Liu_Yan_Ban/src/
Liu_Yan_Ban/src/action/
Liu_Yan_Ban/src/action/LoginAction.java
Liu_Yan_Ban/src/bean/
Liu_Yan_Ban/src/bean/Page.java
Liu_Yan_Ban/src/bean/User.java
Liu_Yan_Ban/src/db/
Liu_Yan_Ban/src/db/DBConn.java
Liu_Yan_Ban/src/struts.xml
Liu_Yan_Ban/.classpath
Liu_Yan_Ban/.project
Liu_Yan_Ban/.settings/
Liu_Yan_Ban/.settings/.jsdtscope
Liu_Yan_Ban/.settings/org.eclipse.core.resources.prefs
Liu_Yan_Ban/.settings/org.eclipse.jdt.core.prefs
Liu_Yan_Ban/.settings/org.eclipse.wst.common.component
Liu_Yan_Ban/.settings/org.eclipse.wst.common.project.facet.core.xml
Liu_Yan_Ban/.settings/org.eclipse.wst.jsdt.ui.superType.container
Liu_Yan_Ban/.settings/org.eclipse.wst.jsdt.ui.superType.name
Liu_Yan_Ban/100814405.mdb
Liu_Yan_Ban/WebContent/
Liu_Yan_Ban/WebContent/META-INF/
Liu_Yan_Ban/WebContent/META-INF/MANIFEST.MF
Liu_Yan_Ban/WebContent/WEB-INF/
Liu_Yan_Ban/WebContent/WEB-INF/classes/
Liu_Yan_Ban/WebContent/WEB-INF/lib/
Liu_Yan_Ban/WebContent/WEB-INF/lib/commons-fileupload-1.2.2.jar
Liu_Yan_Ban/WebContent/WEB-INF/lib/commons-io-2.0.1.jar
Liu_Yan_Ban/WebContent/WEB-INF/lib/commons-lang3-3.1.jar
Liu_Yan_Ban/WebContent/WEB-INF/lib/commons-logging-1.1.1.jar
Liu_Yan_Ban/WebContent/WEB-INF/lib/freemarker-2.3.19.jar
Liu_Yan_Ban/WebContent/WEB-INF/lib/javassist-3.11.0.GA.jar
Liu_Yan_Ban/WebContent/WEB-INF/lib/ognl-3.0.6.jar
Liu_Yan_Ban/WebContent/WEB-INF/lib/struts2-core-2.3.14.2.jar
Liu_Yan_Ban/WebContent/WEB-INF/lib/xwork-core-2.3.14.2.jar
Liu_Yan_Ban/WebContent/WEB-INF/web.xml
Liu_Yan_Ban/WebContent/login.jsp
Liu_Yan_Ban/WebContent/login_failed.jsp
Liu_Yan_Ban/WebContent/main.jsp
Liu_Yan_Ban/WebContent/msg.html
Liu_Yan_Ban/WebContent/picture/
Liu_Yan_Ban/WebContent/picture/1.jpg
Liu_Yan_Ban/WebContent/picture/Thumbs.db
Liu_Yan_Ban/WebContent/picture/first.jpg
Liu_Yan_Ban/WebContent/picture/icon0.jpg
Liu_Yan_Ban/WebContent/picture/icon1.jpg
Liu_Yan_Ban/WebContent/picture/icon2.jpg
Liu_Yan_Ban/WebContent/picture/icon3.jpg
Liu_Yan_Ban/WebContent/picture/icon4.jpg
Liu_Yan_Ban/WebContent/picture/last.jpg
Liu_Yan_Ban/WebContent/picture/msg.jpg
Liu_Yan_Ban/WebContent/picture/next.jpg
Liu_Yan_Ban/WebContent/picture/previous.jpg
Liu_Yan_Ban/WebContent/register.jsp
Liu_Yan_Ban/WebContent/register_action.jsp
Liu_Yan_Ban/WebContent/register_failed.jsp
Liu_Yan_Ban/WebContent/register_success.jsp
Liu_Yan_Ban/WebContent/save_msg.jsp
Liu_Yan_Ban/build/
Liu_Yan_Ban/build/classes/
Liu_Yan_Ban/build/classes/PageEncodingFilter.class
Liu_Yan_Ban/build/classes/action/
Liu_Yan_Ban/build/classes/action/LoginAction.class
Liu_Yan_Ban/build/classes/bean/
Liu_Yan_Ban/build/classes/bean/Page.class
Liu_Yan_Ban/build/classes/bean/User.class
Liu_Yan_Ban/build/classes/db/
Liu_Yan_Ban/build/classes/db/DBConn.class
Liu_Yan_Ban/build/classes/struts.xml
Liu_Yan_Ban/src/
Liu_Yan_Ban/src/action/
Liu_Yan_Ban/src/action/LoginAction.java
Liu_Yan_Ban/src/bean/
Liu_Yan_Ban/src/bean/Page.java
Liu_Yan_Ban/src/bean/User.java
Liu_Yan_Ban/src/db/
Liu_Yan_Ban/src/db/DBConn.java
Liu_Yan_Ban/src/struts.xml
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.