页面实现逻辑/流程 1、编写前端页面 前端页面直接使用已有的,我们主要编写网页背后的执行代码 2、设置首页 <!--设置欢迎页/首页--> <welcome-file-list> <welcome-file>login.jsp</welcome-file> </welcome-file-list> 3、编写Dao层用户登陆的接口
1、注销功能 思路:移除session对象+返回登陆页面 1.编写servlet package com.thhh.servlet.user; import com.thhh.utils.Constants; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; im