java简单学习笔记20181228

Session会话管理,session.invalide()失效,session.getAttribute(),session.setAttribute()方法。

session创建为key-value键值对的方式 ,是在客户浏览器第一次访问时产生的一个id,保存在cookie中,服务器端内存保存的对应的值

Servlet的基本知识和用法。继承HttpServlet,并重写doGet()和doPost()方法。

Servlet3.0支持注释的方式配置servlet了,使用@WebServlet(urlPartten={"/xxx.xxx"}.....)注解。

猜你喜欢

转载自www.cnblogs.com/lofe/p/10188675.html