springMVC or response redirect https
<bean class="org.springframework.web.servlet.view.InternalResourceViewResolver"> <property name="prefix" value="/jsp/"/> <property name="suffix" value=".jsp"/> <!-- redirect to https --> <property name="redirectHttp10Compatible" value="false"/> </bean>
用Nginx做反向代理时 response.sendRedirect(); https