pegasus974

web.xml

Jun 9th, 2016
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.12 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <web-app version="3.1" xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd">
  3. <context-param>
  4. <param-name>contextConfigLocation</param-name>
  5. <param-value>/WEB-INF/applicationContext.xml</param-value>
  6. </context-param>
  7. <listener>
  8. <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
  9. </listener>
  10. <servlet>
  11. <servlet-name>dispatcher</servlet-name>
  12. <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
  13. <load-on-startup>2</load-on-startup>
  14. </servlet>
  15. <servlet-mapping>
  16. <servlet-name>dispatcher</servlet-name>
  17. <url-pattern>*.htm</url-pattern>
  18. </servlet-mapping>
  19. <session-config>
  20. <session-timeout>
  21. 30
  22. </session-timeout>
  23. </session-config>
  24. <welcome-file-list>
  25. <welcome-file>redirect.jsp</welcome-file>
  26. </welcome-file-list>
  27. </web-app>
Add Comment
Please, Sign In to add comment