一、同一用户的不同页面共享数据实现方法
1.cookie技术 2.sendRedirct()转向
3.隐藏表单 4.session技术
二、实现方法
1.sendRedirct()
1.1sendRedirct()方法注意点
-
-源码demo:https://github.com/Way123Ne/ServletAndJsp/tree/master/LoginTest
1.2防止用户的非法登录
*实现方法
-Session技术
*源码demo:https://github.com/Way123Ne/ServletAndJsp/tree/master/LoginTest