ISE-ComProg-After-Midterm/screwdriver-3.5.6/box/snippets/web.xml.spring.txt

22 lines
548 B
Plaintext
Raw Permalink Normal View History

2020-10-29 09:38:56 +00:00
<distributable/>
<session-config>
<session-timeout>20</session-timeout>
</session-config>
<servlet>
<servlet-name>DispatcherServlet</servlet-name>
<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
<init-param>
<param-name>contextConfigLocation</param-name>
<param-value>
/WEB-INF/spring/DispatcherServlet.xml
</param-value>
</init-param>
+startup+
</servlet>
<servlet-mapping>
<servlet-name>DispatcherServlet</servlet-name>
<url-pattern>/</url-pattern>
</servlet-mapping>