摘要: 钝化:内存->硬盘活化:硬盘->内存 session对象的四种状态监听绑定和解绑:HttpSessionBindingListener 不需要配置web.xmla.session.setAttribute("a",xxx) 将对象a【绑定】到session中b.session.removeAttri 阅读全文
posted @ 2020-06-15 16:07 myyismyy 阅读(292) 评论(0) 推荐(0)
摘要: 解决办法: 1.右键-Buid Path->Add Libraries 2. 3. 选中往下继续配置即可。 如果是只是删除servers后没有重新配置tomcat的话 点击window->show View->other 阅读全文
posted @ 2020-06-15 15:28 myyismyy 阅读(356) 评论(0) 推荐(0)
摘要: 监听器开发步骤:a.编写监听器,实现接口b.配置web.xml 监听对象:request session application a.监听对象的创建和销毁request:ServletRequestListenersession:HttpSessionListenerapplication:Serv 阅读全文
posted @ 2020-06-15 10:49 myyismyy 阅读(373) 评论(0) 推荐(0)