Problem Description:
The project is deployed in websphere, and the whole station runs under https. When jumping through spring redirect, the link address starts with https and changes to http. In this case, the project request cannot be accessed.
Solution:
- <!-- redirectHttp10Compatible: Solve the problem that the service cannot be accessed by using the redirect redirect address to http protocol in the https environment
- Set to false, which closes the compatibility support for the http1.0 protocol
- -->
- <beanid="viewResolver"
- class="org.springframework.web.servlet.view.InternalResourceViewResolver">
- <propertyname="viewClass"
- value="org.springframework.web.servlet.view.JstlView"/>
- <propertyname="prefix"value="/WEB-INF/pages/"/>
- <propertyname="suffix"value=".jsp"/>
- <propertyname="redirectHttp10Compatible"value="false"/>
- </bean>