HTTP to HTTPS Redirection!
1 posts in topic
Flat View  Flat View

Posted By:   Mime_Port
Posted On:   Tuesday, April 20, 2004 09:32 AM

Looking for a Java code that would redirect automaticaly any page like http://mydomain.com/.. or http://www.mydomain.com/.. to https://mydomain.com/..

Help Plz!

Re: HTTP to HTTPS Redirection!

Posted By:   Sean_Owen  
Posted On:   Tuesday, April 20, 2004 10:18 AM

If your application is Struts-based, then your best bet is sslext: http://sslext.sourceforge.net/. If not, then look up information about the security-constraint element and transport-guarantee element in web.xml; this is the "native" J2EE way to ask the container to switch requests to HTTPS. However it will not help you switch HTTPS requests back to HTTP.
About | Sitemap | Contact