Copy of web.xml 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <web-app>
  3. <display-name>credit</display-name>
  4. <context-param>
  5. <param-name>webAppRootKey</param-name>
  6. <param-value>operator</param-value>
  7. </context-param>
  8. <context-param>
  9. <param-name>contextConfigLocation</param-name>
  10. <param-value>
  11. /WEB-INF/spring/Common-conf.xml,
  12. /WEB-INF/spring/YHB-conf.xml,
  13. /WEB-INF/spring/LMB-conf.xml,
  14. /WEB-INF/spring/YHRZB-conf.xml,
  15. /WEB-INF/spring/HDB-conf.xml,
  16. /WEB-INF/spring/WZB-conf.xml,
  17. /WEB-INF/spring/HTML-conf.xml,
  18. /WEB-INF/spring/WZFJB-conf.xml,
  19. /WEB-INF/spring/ZDB-conf.xml,
  20. /WEB-INF/spring/ZDXB-conf.xml,
  21. /WEB-INF/spring/WZPLB-conf.xml,
  22. /WEB-INF/spring/WZFWB-conf.xml,
  23. /WEB-INF/spring/ZQB-conf.xml,
  24. /WEB-INF/spring/POLLOPTION-conf.xml
  25. /WEB-INF/spring/POLLTITLE-conf.xml,
  26. </param-value>
  27. </context-param>
  28. <context-param>
  29. <param-name>log4jConfigLocation</param-name>
  30. <param-value>/WEB-INF/log4j.xml</param-value>
  31. </context-param>
  32. <context-param>
  33. <param-name>log4jRefreshInterval</param-name>
  34. <param-value>6000</param-value>
  35. </context-param>
  36. <listener>
  37. <listener-class>
  38. org.springframework.web.util.Log4jConfigListener
  39. </listener-class>
  40. </listener>
  41. <servlet>
  42. <servlet-name>loadServlet</servlet-name>
  43. <servlet-class>com.ccgj.platform.interceptor.LoadServlet</servlet-class>
  44. <load-on-startup>2</load-on-startup>
  45. </servlet>
  46. <servlet>
  47. <servlet-name>pushlet</servlet-name>
  48. <servlet-class>nl.justobjects.pushlet.servlet.Pushlet</servlet-class>
  49. <load-on-startup>1</load-on-startup>
  50. </servlet>
  51. <servlet-mapping>
  52. <servlet-name>pushlet</servlet-name>
  53. <url-pattern>/pushlet.srv</url-pattern>
  54. </servlet-mapping>
  55. <filter>
  56. <filter-name>Set Character Encoding</filter-name>
  57. <filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class>
  58. <init-param>
  59. <param-name>encoding</param-name>
  60. <param-value>utf8</param-value>
  61. </init-param>
  62. </filter>
  63. <filter-mapping>
  64. <filter-name>Set Character Encoding</filter-name>
  65. <url-pattern>/*</url-pattern>
  66. </filter-mapping>
  67. <filter>
  68. <filter-name>AjaxAnywhere</filter-name>
  69. <filter-class>org.ajaxanywhere.AAFilter</filter-class>
  70. </filter>
  71. <filter-mapping>
  72. <filter-name>AjaxAnywhere</filter-name>
  73. <url-pattern>/*</url-pattern>
  74. </filter-mapping>
  75. <filter>
  76. <filter-name>ueditorFilter</filter-name>
  77. <filter-class>
  78. com.ccgj.platform.interceptor.UeditorFilter
  79. </filter-class>
  80. </filter>
  81. <filter-mapping>
  82. <filter-name>ueditorFilter</filter-name>
  83. <url-pattern>*.jsp</url-pattern>
  84. </filter-mapping>
  85. <filter>
  86. <filter-name>struts2</filter-name>
  87. <filter-class>com.ccgj.platform.interceptor.StrutsPrepareAndExecuteFilter</filter-class>
  88. <init-param>
  89. <param-name>config</param-name>
  90. <param-value>
  91. struts-default.xml,
  92. struts-plugin.xml,
  93. ../struts/struts.xml,
  94. ../struts/index.xml
  95. <!-- ../struts/admin.xml,-->
  96. </param-value>
  97. </init-param>
  98. </filter>
  99. <filter-mapping>
  100. <filter-name>struts2</filter-name>
  101. <url-pattern>/*</url-pattern>
  102. </filter-mapping>
  103. <listener>
  104. <listener-class>org.springframework.web.util.Log4jConfigListener</listener-class>
  105. </listener>
  106. <servlet>
  107. <servlet-name>context</servlet-name>
  108. <servlet-class>com.base.common.spring.SpringContextLoaderServlet</servlet-class>
  109. <load-on-startup>1</load-on-startup>
  110. </servlet>
  111. <servlet>
  112. <servlet-name>imageServlet</servlet-name>
  113. <servlet-class>com.base.common.servlet.TextIntoImageServlet</servlet-class>
  114. </servlet>
  115. <servlet>
  116. <servlet-name>InitListener</servlet-name>
  117. <servlet-class>com.ccgj.platform.util.InitListener</servlet-class>
  118. <load-on-startup>5</load-on-startup>
  119. </servlet>
  120. <servlet-mapping>
  121. <servlet-name>imageServlet</servlet-name>
  122. <url-pattern>/imageServlet</url-pattern>
  123. </servlet-mapping>
  124. <servlet>
  125. <servlet-name>createBarCode</servlet-name>
  126. <servlet-class>com.soft4j.barcode.BarCodeServlet</servlet-class>
  127. </servlet>
  128. <servlet-mapping>
  129. <servlet-name>createBarCode</servlet-name>
  130. <url-pattern>/createBarCode</url-pattern>
  131. </servlet-mapping>
  132. <jsp-config>
  133. <taglib>
  134. <taglib-uri>/tags/ajaxanywhere.tld</taglib-uri>
  135. <taglib-location>/WEB-INF/tld/ajaxanywhere.tld</taglib-location>
  136. </taglib>
  137. </jsp-config>
  138. <session-config>
  139. <session-timeout>30</session-timeout>
  140. </session-config>
  141. <welcome-file-list>
  142. <welcome-file>/main/index.jsp</welcome-file>
  143. <welcome-file>login.jsp</welcome-file>
  144. </welcome-file-list>
  145. <default-action-ref name="error" />
  146. <action name="error">
  147. <result>/error.jsp</result>
  148. </action>
  149. <error-page>
  150. <error-code>404</error-code>
  151. <location>/error.jsp?ecode=404</location>
  152. </error-page>
  153. <error-page>
  154. <error-code>500</error-code>
  155. <location>/error.jsp?ecode=500</location>
  156. </error-page>
  157. <error-page>
  158. <error-code>505</error-code>
  159. <location>/error.jsp?ecode=505</location>
  160. </error-page>
  161. <listener>
  162. <listener-class>
  163. com.ccgj.platform.timer.NFDFlightDataTaskListener
  164. </listener-class>
  165. </listener>
  166. </web-app>