Have you already discovered this URL? http://struts.ditlinger.com/
Is an Struts extension that solves this issue in a very elegant way. For a more ilustrative reading you can also check the article by one of the authors of the extension: http://www.javaworld.com/javaworld/jw-02-2002/jw-0215-ssl.html? Jorge Ivan Suarez Murillo Factoring Market R+D Medellin, Colombia ----- Mensaje original ----- De: [EMAIL PROTECTED] Fecha: Miércoles, Abril 3, 2002 3:58 am Asunto: HTTPS + Struts > > > Can you advice on how you manage to redirect the http request from > http to > https? > > I have following scenario (typical of a shopping site). > > 1) User search and place item into shopping cart (eg calls > http://www.acmeshop.co) > 2) addtoshoppingcart.do do some processing and redirects user back to > shopping search page (eg > http://www.acmeshop.com/shoppingsearch.jsp ) > 3) User clicks on the check out page URL. (eg calls > http://www.acmeshop.com/showshoppingcart.do and return the results to > http://www.acmeshop.com/showcartcheckout.jsp). > 4) User clicks on make payment. On the shwowcartcheckout.jsp, I > need to be > able to set the form action attribute to call > https://www.acmeshop.com/makepayment.do (where makepayment.do will > redirectto the https://www.acmeshop.com/enterpaymentdetail.jsp). > The form action > attribute on the enterpaymentdetail.jsp will call > https://www.acmeshop.com/processpayment.do ) > > What I am trying to find out is how do I set the https:// in the > form action > attribute of showcartcheckout.jsp. The form tag does not have any > attributewill will create the https://... string. Do I have to > hard code the form > action in this page? Or am I total off the track? > > Thanks in advance > > Rizvan > > > > -- > To unsubscribe, e-mail: <mailto:struts-user- > [EMAIL PROTECTED]>For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > ___________________________________________________________________ Consigue tu e-mail gratuito TERRA.COM.CO Haz click en http://www1.terra.com.co/correo -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>