问答详情
源自:3-4 属性的增加和删除的事件监听器

请求后,后台输出,有点不太一样,想了解更多点,哪里配置的问题吗

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

提问者:gao634209276 2016-03-19 15:40

个回答

  • 骑着蜗牛定乾坤
    2016-03-19 16:00:33
    已采纳

    老师的没太注意,不过我的跟你一样,每次请求都会输出一次,不过我想不用太深究吧,毕竟是初级

  • 骑着蜗牛定乾坤
    2016-03-19 15:48:15

    根据老师说法,这是tomcat自己加载的一个类