摘要: 获取request有两种方法: 1.在web.xml文件中添加监听器,然后通过注解注入request: <listener> <listener-class> org.springframework.web.context.request.RequestContextListener </liste 阅读全文
posted @ 2018-06-12 11:05 依馨Lina 阅读(11455) 评论(1) 推荐(1) 编辑
摘要: 注意:借鉴原文章:http://www.cnblogs.com/roy-blog/p/7196054.html 1 session的概念 在网络应用中我们会称为“会话控制”,在开发中我们常称其为session对象,用来存储特定用户会话所需的属性及配置信息。当用户在应用程序的 Web 页之间跳转时,存 阅读全文
posted @ 2018-06-12 10:11 依馨Lina 阅读(1400) 评论(0) 推荐(0) 编辑