If you plan to use SSLext you will need to add in your action-mapping the secure action config like this way : <action-mappings type="org.apache.struts.config.SecureActionConfig">
and add the plug in : <plug-in className="org.apache.struts.action.SecurePlugIn"> <set-property property="httpPort" value="8080" /> <set-property property="httpsPort" value="8443" /> <set-property property="enable" value="true" /> </plug-in> ----- Original Message ----- From: "James Childers" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, February 21, 2003 3:05 PM Subject: RE: url or html:link from http to https? There's not one native to Struts. You can use the sslext package on SourceForge, though. This will allow you to declare an Action to be secure via your struts-config.xml file; any references to that Action will be automagically prepopulated with the appropriate protocol. Ex: <action path="/mySecureAction" type="org.whatever.MySecureAction"> <set-property property="secure" value="true"> </action> Then when you reference this action in your JSP using the appropriate tags everything will happen for you. <sslext:form action="/mySecureAction"> will generate <form name="whateverTheFormIs" method="get" action="https://www.myserver.com/appRoot/mySecureAction.do"> -= J > -----Original Message----- > From: Bryan Field-Elliot [mailto:[EMAIL PROTECTED]] > Sent: Thursday, February 20, 2003 9:09 PM > To: Struts Users Mailing List > Subject: c:url or html:link from http to https? > > > Is there a simple way (e.g. standard tag with some oddball parameter), > which will let me do a standard "<c:url>" or "<html:link>", except, > rewrite the leading "http://" as "https://"? > > I don't want to insert a hack scriptlet every time I want to do this.. > Would rather use a tag. But I can't seem to find it.... > > Thanks, > > Bryan > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

