This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener). # Fixed URLs ## Fixed But Review Recommended These URLs were fixed, but the https status was not OK. However, the https status was the same as the http request or http redirected to an https URL, so they were migrated. Your review is recommended. * [ ] http://www.puppycrawl.com/dtds/configuration_1_3.dtd (404) with 1 occurrences migrated to: https://www.puppycrawl.com/dtds/configuration_1_3.dtd ([https](https://www.puppycrawl.com/dtds/configuration_1_3.dtd) result 404). * [ ] http://www.puppycrawl.com/dtds/suppressions_1_1.dtd (404) with 1 occurrences migrated to: https://www.puppycrawl.com/dtds/suppressions_1_1.dtd ([https](https://www.puppycrawl.com/dtds/suppressions_1_1.dtd) result 404). ## Fixed Success These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended. * [ ] http://www.springframework.org/schema/beans/spring-beans.xsd with 11 occurrences migrated to: https://www.springframework.org/schema/beans/spring-beans.xsd ([https](https://www.springframework.org/schema/beans/spring-beans.xsd) result 200). * [ ] http://www.springframework.org/schema/context/spring-context.xsd with 10 occurrences migrated to: https://www.springframework.org/schema/context/spring-context.xsd ([https](https://www.springframework.org/schema/context/spring-context.xsd) result 200). * [ ] http://www.springframework.org/schema/gemfire/spring-gemfire.xsd with 4 occurrences migrated to: https://www.springframework.org/schema/gemfire/spring-gemfire.xsd ([https](https://www.springframework.org/schema/gemfire/spring-gemfire.xsd) result 200). * [ ] http://www.springframework.org/schema/jdbc/spring-jdbc.xsd with 1 occurrences migrated to: https://www.springframework.org/schema/jdbc/spring-jdbc.xsd ([https](https://www.springframework.org/schema/jdbc/spring-jdbc.xsd) result 200). * [ ] http://www.springframework.org/schema/util/spring-util-4.1.xsd with 2 occurrences migrated to: https://www.springframework.org/schema/util/spring-util-4.1.xsd ([https](https://www.springframework.org/schema/util/spring-util-4.1.xsd) result 200). * [ ] http://www.springframework.org/schema/util/spring-util.xsd with 4 occurrences migrated to: https://www.springframework.org/schema/util/spring-util.xsd ([https](https://www.springframework.org/schema/util/spring-util.xsd) result 200). * [ ] http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd with 4 occurrences migrated to: https://java.sun.com/xml/ns/javaee/web-app_3_0.xsd ([https](https://java.sun.com/xml/ns/javaee/web-app_3_0.xsd) result 302). # Ignored These URLs were intentionally ignored. * http://java.sun.com/xml/ns/javaee with 8 occurrences * http://www.hazelcast.com/schema/config with 6 occurrences * http://www.springframework.org/schema/beans with 22 occurrences * http://www.springframework.org/schema/context with 20 occurrences * http://www.springframework.org/schema/gemfire with 8 occurrences * http://www.springframework.org/schema/jdbc with 2 occurrences * http://www.springframework.org/schema/p with 7 occurrences * http://www.springframework.org/schema/util with 12 occurrences * http://www.w3.org/2001/XMLSchema-instance with 18 occurrences
69 lines
2.0 KiB
XML
69 lines
2.0 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<web-app version="3.0" xmlns="http://java.sun.com/xml/ns/javaee"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee https://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">
|
|
<!--
|
|
- Location of the XML file that defines the root application context
|
|
- Applied by ContextLoaderListener.
|
|
-->
|
|
<!-- tag::context-param[] -->
|
|
<context-param>
|
|
<param-name>contextConfigLocation</param-name>
|
|
<param-value>
|
|
/WEB-INF/spring/*.xml
|
|
</param-value>
|
|
</context-param>
|
|
<!-- end::context-param[] -->
|
|
|
|
<!-- tag::springSessionRepositoryFilter[] -->
|
|
<filter>
|
|
<filter-name>springSessionRepositoryFilter</filter-name>
|
|
<filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class>
|
|
</filter>
|
|
<filter-mapping>
|
|
<filter-name>springSessionRepositoryFilter</filter-name>
|
|
<url-pattern>/*</url-pattern>
|
|
<dispatcher>REQUEST</dispatcher>
|
|
<dispatcher>ERROR</dispatcher>
|
|
<dispatcher>ASYNC</dispatcher>
|
|
</filter-mapping>
|
|
<!-- end::springSessionRepositoryFilter[] -->
|
|
|
|
<!--
|
|
- Loads the root application context of this web app at startup.
|
|
- The application context is then available via
|
|
- WebApplicationContextUtils.getWebApplicationContext(servletContext).
|
|
-->
|
|
<!-- tag::listeners[] -->
|
|
<listener>
|
|
<listener-class>
|
|
org.springframework.web.context.ContextLoaderListener
|
|
</listener-class>
|
|
</listener>
|
|
<!-- end::listeners[] -->
|
|
|
|
<servlet>
|
|
<servlet-name>session</servlet-name>
|
|
<servlet-class>sample.SessionServlet</servlet-class>
|
|
</servlet>
|
|
|
|
<servlet-mapping>
|
|
<servlet-name>session</servlet-name>
|
|
<url-pattern>/session</url-pattern>
|
|
</servlet-mapping>
|
|
|
|
<servlet>
|
|
<servlet-name>h2Console</servlet-name>
|
|
<servlet-class>org.h2.server.web.WebServlet</servlet-class>
|
|
</servlet>
|
|
|
|
<servlet-mapping>
|
|
<servlet-name>h2Console</servlet-name>
|
|
<url-pattern>/h2-console/*</url-pattern>
|
|
</servlet-mapping>
|
|
|
|
<welcome-file-list>
|
|
<welcome-file>index.jsp</welcome-file>
|
|
</welcome-file-list>
|
|
</web-app>
|