32 | 50 |
51 |

Spring Quartz分布式定时任务

52 |

Spring整合Quartz基于数据库的分布式定时任务,可动态添加、删除、修改定时任务。

53 |
-------------------------------------------------------------------------------- /src/main/webapp/WEB-INF/web.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | contextConfigLocation 9 | classpath:applicationContext.xml 10 | 11 | 12 | org.springframework.web.context.ContextLoaderListener 13 | 14 | 15 | 16 | CharacterEncodingFilter 17 | org.springframework.web.filter.CharacterEncodingFilter 18 | 19 | encoding 20 | UTF-8 21 | 22 | 23 | forceEncoding 24 | true 25 | 26 | 27 | 28 | CharacterEncodingFilter 29 | /* 30 | 31 | 32 | 33 | springmvc 34 | org.springframework.web.servlet.DispatcherServlet 35 | 36 | contextConfigLocation 37 | classpath:spring-mvc.xml 38 | 39 | 1 40 | 41 | 42 | 43 | springmvc 44 | *.shtml 45 | 46 | 47 | 48 | list-schedule-job.shtml 49 | 50 | 51 | --------------------------------------------------------------------------------