This is part of the servlet spec. Use a transport guarantee. You won't have to do any extra coding.....
<security-constraint>
<web-resource-collection>
<web-resource-name>Tomcat</web-resource-name>
<url-pattern>/*</url-pattern>
</web-resource-collection>
<user-data-constraint>
<transport-guarantee>CONFIDENTIAL</transport-guarantee>
</user-data-constraint>
</security-constraint>
Jake
At 05:22 PM 2/11/2003 -0500, you wrote:
Yes, I use struts. It used to automatically redirect http request to https with https setup in ssl.conf. After I upgraded to b3, 4.1.18, 2.0.44, http is http and https is https.Regards, PQ "This Guy Thinks He Knows Everything" "This Guy Thinks He Knows What He Is Doing" -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: February 11, 2003 5:13 PM To: [EMAIL PROTECTED] Subject: RE: automatically redirect http to https in tomcat PQ, Are you using struts? if so I may be able to help you. Best, Stephen Schaubach -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 11, 2003 1:12 PM To: [EMAIL PROTECTED] Subject: automatically redirect http to https in tomcat Importance: Low Is it possible to automatically redirect any http request to https in an Apache + Tomcat environment? For example, If I enter http://my.domain.com/mycontext <http://my.domain.com/mycontext> , I would be automatically redirected to https://my.domain.com/mycontext? Regards, PQ "This Guy Thinks He Knows Everything" "This Guy Thinks He Knows What He Is Doing"