问题
One of my result mapping type is a "redirectAction"
in struts.xml
which when executed constructs a NON secure link... Why is that?
i wanted to constructs secure link using "redirectAction"
what should i do?
<result type="redirectAction" name="auth_stat">
<param name="actionName">auth_stat</param>
</result>
回答1:
Use a redirect result
<result type="redirect" name="auth_stat">
<param name="location">https://www.yourserver.com/auth_stat</param>
</result>
来源:https://stackoverflow.com/questions/21751503/struts2-redirectaction-is-not-https