feat: 新增 JDK 8 系列镜像与示例(runtime-jdk8 / jre8 / tomcat9 / compile-maven3-jdk8,springboot-jar8 / spring-war8)
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
<?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>
|
||||
Reference in New Issue
Block a user