首页 > TAG信息列表 > thhh

狂神说Java【SMBMS】——SMBMS超市订单管理系统(二) ——登陆功能实现

  页面实现逻辑/流程 1、编写前端页面 ​ 前端页面直接使用已有的,我们主要编写网页背后的执行代码 2、设置首页 <!--设置欢迎页/首页--> <welcome-file-list> <welcome-file>login.jsp</welcome-file> </welcome-file-list> 3、编写Dao层用户登陆的接口

狂神说Java【SMBMS】——SMBMS超市订单管理系统(三) ——登陆功能优化

  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