gao634209276
2016-03-19 15:40
1、发送请求index.jsp
requestInitialized name:null
ServletRequest_attributeReplaced:org.apache.catalina.ASYNC_SUPPORTED
sessionCreated
requestDestroyed
2。在index.jsp中点击init发送请求
requestInitialized name:null
ServletRequest_attributeReplaced:org.apache.catalina.ASYNC_SUPPORTED
ServletRequest_attributeAdded:requestName
HttpSession_attributeAdded:sessionName
ServletContext_attributeAdded:contextName
requestDestroyed
3.在init.jsp中再次点击init发送请求
requestInitialized name:null
ServletRequest_attributeReplaced:org.apache.catalina.ASYNC_SUPPORTED
ServletRequest_attributeAdded:requestName
HttpSession_attributeReplaced:sessionName
ServletContext_attributeReplaced:contextName
requestDestroyed
1、求问,我的每次都要加载一次这个常量,是什么ServletRequest_attributeReplaced:org.apache.catalina.ASYNC_SUPPORTED
老师的没太注意,不过我的跟你一样,每次请求都会输出一次,不过我想不用太深究吧,毕竟是初级
根据老师说法,这是tomcat自己加载的一个类
JAVA Web开发技术应用——监听器
76034 学习 · 155 问题
相似问题