Files
kenaito-lab/demo/app/spring-war8/src/main/webapp/WEB-INF/web.xml
T

21 lines
841 B
XML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?xml version="1.0" encoding="UTF-8"?>
<!--
Tomcat 部署描述符,不影响 Spring 初始化。当前版本没有用 web.xml 写 servlet 映射,
由 WebAppInitializer(ServletContainerInitializer)注册 DispatcherServlet。
这里用 Servlet 2.5 的 DOCTYPE 兼容写法之外的 schema:javax.servlet 4.0 对应 Java 8 / Tomcat 9。
要改会话超时或 MIME 类型时才需要改这里。
-->
<web-app 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_4_0.xsd"
version="4.0"
metadata-complete="false">
<display-name>spring-war8</display-name>
<session-config>
<session-timeout>30</session-timeout>
</session-config>
</web-app>