I have today exactly the same problem and founded the same solution calles Struts SSL Switching Extension hosted at sourceforge:
http://sourceforge.net/projects/sslext/
This solution is from the same author so you don't have to copy and paste the code snibbles ;-). My first evaluation says: The solution may not adapted to the Struts 1.1 environment, it runs for 1.0 and 1.1 too. But in further version you have to make some changes. The configuration of the action-mapping is no longer described in the web.xml but in the struts-config.xml.
OLD web.xml:
<servlet id="Servlet_1"> ... <init-param> <param-name>mapping</param-name> <param-value>org.apache.struts.action.SecureActionMapping</param-value> </init-param> </servlet>
NEW struts-config.xml <action-mappings type=org.apache.struts.action.SecureActionMapping> <action> </action> </action-mappings>
So you define a new action-mapping class for doing the mapping.
regards Manfred Wolff
Alain Van Vyve wrote:
I would like to mix HTTP et HTTPS ...
A very intersting article http://www.javaworld.com/javaworld/jw-05-2002/jw-0510-struts_p.html
has been written about that subject but the solution described was designed in a Struts 1.0 environment ...
Does somebody has already adapted that solution in a Struts 1.1 environment ?
Thank you ...
Alain
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- =========================================== Dipl.-Inf. Manfred Wolff ------------------------------------------- phone neusta : +49 421 20696-27 phone : +49 421 534522 mobil : +49 178 49 18 434 eFax : +49 1212 6 626 63 965 33 ------------------------------------------- ____________________________________________________ Diese E-Mail enthält möglicherweise vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]