资源简介

Jsp+Servlet+Cookie实现记住密码,自动登录,防止表单提交,记录登录次数的新手例子。简单明了,大量注释,El表达式等。

资源截图

代码片段和文件信息

package com.xh.bean;
/*
 * 实体类
 */
public class User {
 private int id;
 private String name;
 private String password;
 
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getPassword() {
return password;
}
public void setPassword(String password) {
this.password = password;
}
 

}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2018-12-20 21:36  permanentPassword\
     文件        1460  2018-12-20 11:07  permanentPassword\.classpath
     文件        1342  2018-12-18 17:21  permanentPassword\.project
     目录           0  2018-12-20 21:36  permanentPassword\.settings\
     文件         522  2018-12-18 16:35  permanentPassword\.settings\.jsdtscope
     文件         548  2018-12-20 09:08  permanentPassword\.settings\com.genuitec.runtime.libraries.xml
     文件          66  2018-12-18 16:51  permanentPassword\.settings\org.eclipse.core.resources.prefs
     文件         364  2018-12-18 16:35  permanentPassword\.settings\org.eclipse.jdt.core.prefs
     文件         510  2018-12-18 16:35  permanentPassword\.settings\org.eclipse.wst.common.component
     文件         414  2018-12-18 16:35  permanentPassword\.settings\org.eclipse.wst.common.project.facet.core.xml
     文件          49  2018-12-18 16:35  permanentPassword\.settings\org.eclipse.wst.jsdt.ui.superType.container
     文件           6  2018-12-18 16:35  permanentPassword\.settings\org.eclipse.wst.jsdt.ui.superType.name
     目录           0  2018-12-20 21:36  permanentPassword\WebRoot\
     目录           0  2018-12-20 21:36  permanentPassword\WebRoot\meta-INF\
     文件          39  2018-12-18 16:35  permanentPassword\WebRoot\meta-INF\MANIFEST.MF
     目录           0  2018-12-20 21:36  permanentPassword\WebRoot\WEB-INF\
     目录           0  2018-12-20 21:36  permanentPassword\WebRoot\WEB-INF\classes\
     目录           0  2018-12-20 21:36  permanentPassword\WebRoot\WEB-INF\classes\com\
     目录           0  2018-12-20 21:36  permanentPassword\WebRoot\WEB-INF\classes\com\xh\
     目录           0  2018-12-20 21:36  permanentPassword\WebRoot\WEB-INF\classes\com\xh\bean\
     文件         898  2018-12-20 12:28  permanentPassword\WebRoot\WEB-INF\classes\com\xh\bean\User.class
     目录           0  2018-12-20 21:36  permanentPassword\WebRoot\WEB-INF\classes\com\xh\util\
     文件        2642  2018-12-20 12:28  permanentPassword\WebRoot\WEB-INF\classes\com\xh\util\DBUtil.class
     文件        1279  2018-12-20 12:28  permanentPassword\WebRoot\WEB-INF\classes\com\xh\util\MD5Util.class
     目录           0  2018-12-20 21:36  permanentPassword\WebRoot\WEB-INF\classes\com\xh\web\
     文件        1565  2018-12-20 12:28  permanentPassword\WebRoot\WEB-INF\classes\com\xh\web\LogOutServlet.class
     文件        4426  2018-12-20 12:28  permanentPassword\WebRoot\WEB-INF\classes\com\xh\web\LoginCheck.class
     文件        2087  2018-12-20 12:28  permanentPassword\WebRoot\WEB-INF\classes\com\xh\web\RepeatFormServlet.class
     目录           0  2018-12-20 21:36  permanentPassword\WebRoot\WEB-INF\lib\
     文件      827942  2018-07-14 16:23  permanentPassword\WebRoot\WEB-INF\lib\mysql-connector-java-5.1.21-bin.jar
     文件         834  2018-12-18 16:35  permanentPassword\WebRoot\index.jsp
............此处省略14个文件信息

评论

共有 条评论