捕捉到服务器的启动和停止,在启动和停止触发里面的方法做相应的操作
它必须在web.xml 中配置才能使用,是配置监听类的http://blog.csdn.net/java_pengjin/article/details/6760175
- 浏览: 207634 次
- 性别:
- 来自: 北京
文章分类
- 全部博客 (241)
- java (54)
- web app (28)
- jsp (6)
- html + js + css (50)
- web 服务器 - nginx + tomcat (8)
- DB (1)
- DB - mysql (16)
- DB - oracle (6)
- DB - hive (0)
- DB - HBase (1)
- apache (3)
- python (1)
- snmp (0)
- 正则表达式 (2)
- 爬虫 - httpClient (7)
- 爬虫 - phantomjs (0)
- OS - LINUX (10)
- OS - WINDOWS (4)
- maven (10)
- 网络管理 (12)
- API -文档 (0)
- 大数据 - kafka (1)
- 大数据 - hadoop (2)
- 大数据 - 分布式 (2)
- Google - Guava (2)
- 教程 (2)
- TOOL (1)
- TOOL - 浏览器插件 (1)
- TOOL - SVN (3)
- TOOL - OFFICE (1)
- TOOL - Notepad++ (1)
- TOOL - eclipse (1)
- MQ - message queue (1)
- NFS - 文件服务器 (1)
- 文件管理 (0)
- 框架 - log (1)
最新评论
发表评论
-
web - URL
2016-01-05 10:30 0对于url的相对路径问题一直都没太仔细弄清楚,这次好好的查了 ... -
web - restful框架
2015-12-23 18:15 4721. 百科-理解RESTful架构 http://baik ... -
web - springMVC - controller处理方法返回值处理类型
2015-12-16 21:06 8771. spring mvc 支持如下的返回方式:ModelA ... -
web - cookie
2015-12-16 20:46 5051. cookie 分为:会话cook ... -
web - session/cookie/application
2015-12-15 14:32 4531. HTTP 中的 session ses ... -
web - SSH - spring - AOP - 切面编程
2015-11-26 13:56 7151. Spring实现AOP的4种方式 - 基本 - ht ... -
web - Jersey - Jersey入门与JavaBean
2015-11-13 12:11 507http://www.cnblogs.com/xinshe ... -
web - web.xml 详解(listener、 filter、servlet)
2015-11-03 15:17 408web.xml 中的listener、 filter、serv ... -
web - SSH - spring - IOC - 依赖注入及创建对象(实现方式:DI)
2015-11-03 15:04 720spring 创建对象方式: 1 - xml配置 ... -
web - web.xml - <welcome-file-list>
2015-11-03 15:04 587正确格式 <welcome-file- ... -
web - web.xml - <servlet-name>default</servlet-name>
2015-11-03 15:04 303这个配置的作用是:对客户端请求的静态资源如图片、JS文件等 ... -
web - web service - 基于CXF的JAX-WS、JAX-RS(RESTful)的webService
2015-10-26 10:24 719http://www.open-open.com/lib/vi ... -
web - web service - cxf和spring集成
2015-10-26 10:24 402http://www.iteye.com/topic/1122 ... -
web - web service - jersey(JAX-RS)
2015-10-26 10:24 465http://www.cnblogs.com/xinshe ... -
web - web service - JAX-WS、CXF、Spring3.0+
2015-10-26 10:23 372http://www.cnblogs.com/NF-CHH ... -
web - SSH - Hibernate缓存机制
2015-10-10 16:21 440http://www.cnblogs.com/wean/a ... -
web - SSH - Hibernate事务管理(transaction)
2015-10-10 16:16 488http://blog.163.com/zhoutianw ... -
web - SSH - Hibernate的clear(),flush(),evict()方法详解
2015-10-10 16:10 705http://itlab.idcquan.com/Java ... -
web - SSH - Hibernate 批量插入、更新与删除
2015-10-10 15:48 637http://blog.sina.com.cn/s/blo ... -
web - @Resource @Autowired
2015-04-08 16:15 405@Resources按名字,是JDK的, 默认按名称装配 ...
相关推荐
<listener-class>test.ListenerDemo</listener-class> </listener> <!--定义了Web应用程序中会话的超时时限--> <session-config> <session-timeout>10</session-timeout> </session-config>
<listener-class> org.springframework.web.context.ContextLoaderListener </listener-class> </listener> <!-- Spring MVC 的Servlet,它将加载WEB-INF/annomvc-servlet.xml 的 配置文件, 以启动Spring ...
spring使用logback的扩展,使用起来非常方便。在web.xml中配置: ... <listener-class>ch.qos.logback.ext.spring.web.LogbackConfigListener</listener-class> </listener> 即可加载logback配置,使用logback。
在web.Xml中<context-param> <param-name>contextConfigLocation</param-name> ... <listener-class>org.springframework.web.context.request.RequestContextListener</listener-class> </listener>
</listener-class> </listener> <welcome-file-list> <welcome-file>index.jsp</welcome-file> </welcome-file-list> </web-app> 5 cas client 2.0 proxy 配置说明 proxy web.xml <?xml version="1.0" ...
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class> </listener> <!-- Listener log4jConfigLocation --> <listener> <listener-class>org.springframework.web....
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class> </listener> <servlet> <servlet-name>test</servlet-name> <servlet-class>org.springframework.web.servlet....
<listener-class>net.bull.javamelody.SessionListener</listener-class> </listener> 2、需监控的web工程引入依赖jar包 jira-javamelody.jar jrobin-1.5.9.1.jar 3、如果您的web项目有SpringSecurity,修改...
spring/applicationContext.xml </param-value> </context-param> <listener> <listener-class> org.springframework.web.context.ContextLoaderListener </listener-class> </listener> ApplicationContext * * * *...
监控器需要的jar,需在web.xml中配置<filter> ... <listener-class>net.bull.javamelody.SessionListener</listener-class> </listener> 通过web地址:http:xxxx/项目名/monitoring 可以进入到监控页面
<listener-class> org.springframework.web.context.ContextLoaderListener </listener-class> </listener> <filter> <filter-name>encodingFilter</filter-name> <filter-class> org.spring...
<listener-class>org.springframework.web.util.Log4jConfigListener</listener-class> </listener> <!-- 字符集 过滤器 --> <filter> <filter-name>CharacterEncodingFilter</filter-name> <filter-class...
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class> <!-- 默认找的文件名 --> </listener> <!-- Context Configuration locations for Spring XML files --> <context...
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class> </listener> <!-- 利用spring监听 编码设置 --> <filter> <filter-name>SpringCharacterEncodingFilter</...
<listener-class>org.springframework.web.util.IntrospectorCleanupListener</listener-class> </listener> <servlet> <servlet-name>CXFService</servlet-name> <servlet-class>org.apache.cxf.transport...
proxool.0.9.1基础上做了修改。 改jar名称为:proxool-0.9.1.1... <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class> </listener> 4.修正了proxool在多线程环境下的的错误。
17 <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class> 18 </listener> 19 20 <filter> 21 <filter-name>encodingFilter</filter-name> 22 <filter-class>org.spring...
<listener-class> org.apache.axis.transport.http.AxisHTTPSessionListener </listener-class> </listener> <servlet> <servlet-name>AxisServlet</servlet-name> <servlet-class> org.apache....
<listener-class> org.jasig.cas.client.session.SingleSignOutHttpSessionListener </listener-class> </listener> <!-- 该过滤器用于实现单点登出功能,可选配置。 --> <filter> <filter-name>CAS ...
<listener-class>com.sinoprise.web.WebVisitEventListener</listener-class> </listener> <context-param> <param-name>WebVisitLogger-DbDriver</param-name> <param-value>org.postgresql.Driver</param-...