You can define security configuration on a per page basis, just like this: <%@ taglib uri="/WEB-INF/sslext.tld" prefix="sslext"%> <sslext ageScheme secure="true"/>
And you configure which port to use in your struts-config.xml: <plug-in className="org.apache.struts.action.SecurePlugIn"> <set-property property="httpPort" value="80" /> <set-property property="httpsPort" value="443" /> <set-property property="enable" value="true" /> </plug-in>
If an http request comes in and the page secure attribute is set to true, it will automatically be redirected to the https port.
Hi, I am facing problem with sslext with Tiles. I am Struts 1.2.8 with Tiles,Velocity Menu & sslext-1.2 . Problem is : 1. I'm linking from one page to another page with as the following URL with https: <a href="https://localhost:8443/web/formAction.do"> SSL</a> 2. That is Action with ".do". 3. In struts-config.xml <action path="/formAction" type="test.ssl.NullAction">
What is the problem how we can resolve this?. Becuse of this is , template based tiles is not working properly. All Suggestions are welcomes and my advance thanks you can reach me firstname.lastname@example.org L.GANESH.