Hi,
I'm successfully using struts / tiles / sslext except in one case :
All my pages are rendering using tiles.
After a form validation, I have to redirect the user to a secure page. Using sslext, I can set the secure property in the struts-config.xml but it doesn't work as I expect : If errors are detected during the validation, the page is reloaded in a secure mode.
In fact, what I want is a SecureActionForward which let you specify precisely which forward should redirect using https or http.
This could be implemented like this :
public class SecureActionForward extends ActionForward {
private String secure;
public String getSecure() {
return secure;
}
public void setSecure(String secure) {
this.secure = secure;
}
}and in struts-config.xml :
<action
path="/travellers"
type="mywebapp.struts.action.TravellersAction"
name="travellersForm"
scope="request"
validate="true"
input=".travellers">
<forward
name="success"
path=".payment"
className="org.apache.struts.action.SecureActionForward"
redirect="true">
<set-property property="secure" value="true"/>
</forward>
</action>Now, I can't find out how to implement this in the SecureTilesRequestProcessor. Any help or other idea would be appreciated.
Thanks,
Ludo.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

