There are a number of issues involved that make it more complicated than it should be (cookie domains, writing out all the links properly, etc.). Fortunately, there is a project designed just for this purpose that extends Struts to support relatively painless HTTP/HTTPS switching: http://sslext.sourceforge.net
The main author of the extension has written a few articles about the issues involved with such switching and what the extension does specifically. Reading these would be a nice jump-start if you haven't been through this kind of thing before: http://www.javaworld.com/javaworld/jw-02-2002/jw-0215-ssl.html http://www.javaworld.com/javaworld/jw-05-2002/jw-0510-struts.html -Max ----- Original Message ----- From: "Sterin, Ilya" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Thursday, March 06, 2003 4:16 PM Subject: redirecting to HTTPS > What's the easiest way to redirecting to https and back. Meaning, > what's the I guess more common/prefered way of doing it in struts. > > Any small examples, would be great:-) > > Thanks a bunch. > > Ilya > > --------------------------------------------------------------------- > 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]