资源简介

韩顺平Servlet和JSP用户管理源码,建表的sql、详细的注解说明、美化的界面,自己敲得超详细demo,适合初学者

资源截图

代码片段和文件信息

package com.demo.controller;

import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

@WebServlet(name = “AddUserServlet“urlPatterns = “/add“)
public class AddUserServlet extends HttpServlet {
    public void doPost(HttpServletRequest request HttpServletResponse response) throws ServletException IOException {
        this.doGet(request response);
    }

    public void doGet(HttpServletRequest request HttpServletResponse response) throws ServletException IOException {
        request.getRequestDispatcher(“addUser.jsp“).forward(requestresponse);
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2018-06-26 06:35  servlet_jsp_userManager-master\
     文件        2466  2018-06-26 06:35  servlet_jsp_userManager-master\README.md
     目录           0  2018-06-26 06:35  servlet_jsp_userManager-master\servlet_jsp_userManager\
     目录           0  2018-06-26 06:35  servlet_jsp_userManager-master\servlet_jsp_userManager\src\
     目录           0  2018-06-26 06:35  servlet_jsp_userManager-master\servlet_jsp_userManager\src\com\
     目录           0  2018-06-26 06:35  servlet_jsp_userManager-master\servlet_jsp_userManager\src\com\demo\
     目录           0  2018-06-26 06:35  servlet_jsp_userManager-master\servlet_jsp_userManager\src\com\demo\controller\
     文件         754  2018-06-26 06:35  servlet_jsp_userManager-master\servlet_jsp_userManager\src\com\demo\controller\AddUserServlet.java
     文件         924  2018-06-26 06:35  servlet_jsp_userManager-master\servlet_jsp_userManager\src\com\demo\controller\FailedServlet.java
     文件         758  2018-06-26 06:35  servlet_jsp_userManager-master\servlet_jsp_userManager\src\com\demo\controller\FixUserServlet.java
     文件         750  2018-06-26 06:35  servlet_jsp_userManager-master\servlet_jsp_userManager\src\com\demo\controller\LoginServlet.java
     文件        7575  2018-06-26 06:35  servlet_jsp_userManager-master\servlet_jsp_userManager\src\com\demo\controller\ManServlet.java
     文件         930  2018-06-26 06:35  servlet_jsp_userManager-master\servlet_jsp_userManager\src\com\demo\controller\SuccessServlet.java
     文件        3160  2018-06-26 06:35  servlet_jsp_userManager-master\servlet_jsp_userManager\src\com\demo\controller\VerifyServlet.java
     文件        2000  2018-06-26 06:35  servlet_jsp_userManager-master\servlet_jsp_userManager\src\com\demo\controller\WelcomeServlet.java
     目录           0  2018-06-26 06:35  servlet_jsp_userManager-master\servlet_jsp_userManager\src\com\demo\model\
     文件         580  2018-06-26 06:35  servlet_jsp_userManager-master\servlet_jsp_userManager\src\com\demo\model\ConnectionDB.java
     文件         791  2018-06-26 06:35  servlet_jsp_userManager-master\servlet_jsp_userManager\src\com\demo\model\UserBean.java
     文件        5032  2018-06-26 06:35  servlet_jsp_userManager-master\servlet_jsp_userManager\src\com\demo\model\UserBeanManager.java
     文件        1302  2018-06-26 06:35  servlet_jsp_userManager-master\servlet_jsp_userManager\src\com\demo\model\Visits.java
     目录           0  2018-06-26 06:35  servlet_jsp_userManager-master\servlet_jsp_userManager\web\
     目录           0  2018-06-26 06:35  servlet_jsp_userManager-master\servlet_jsp_userManager\web\meta-INF\
     文件          69  2018-06-26 06:35  servlet_jsp_userManager-master\servlet_jsp_userManager\web\meta-INF\context.xml
     目录           0  2018-06-26 06:35  servlet_jsp_userManager-master\servlet_jsp_userManager\web\WEB-INF\
     目录           0  2018-06-26 06:35  servlet_jsp_userManager-master\servlet_jsp_userManager\web\WEB-INF\classes\
     目录           0  2018-06-26 06:35  servlet_jsp_userManager-master\servlet_jsp_userManager\web\WEB-INF\classes\com\
     目录           0  2018-06-26 06:35  servlet_jsp_userManager-master\servlet_jsp_userManager\web\WEB-INF\classes\com\demo\
     目录           0  2018-06-26 06:35  servlet_jsp_userManager-master\servlet_jsp_userManager\web\WEB-INF\classes\com\demo\controller\
     文件        1231  2018-06-26 06:35  servlet_jsp_userManager-master\servlet_jsp_userManager\web\WEB-INF\classes\com\demo\controller\AddUserServlet.class
     文件        1698  2018-06-26 06:35  servlet_jsp_userManager-master\servlet_jsp_userManager\web\WEB-INF\classes\com\demo\controller\FailedServlet.class
     文件        1235  2018-06-26 06:35  servlet_jsp_userManager-master\servlet_jsp_userManager\web\WEB-INF\classes\com\demo\controller\FixUserServlet.class
............此处省略40个文件信息

评论

共有 条评论