at tomcat official site, http://tomcat.apache.org/tomcat-4.1-doc/config/coyote.html redirectPort is described as below
If this Connector is supporting non-SSL requests, and a request is received for which a matching <security-constraint> requires SSL transport, Catalina will automatically redirect the request to the port number specified here. The default value is 443. but i still don't understand what redirectPort is used for. and actually, tomcat doesn't listen on the port specified by redirectPort, so how does the redirect work? ___________________________________________________________ 雅虎邮箱,您的终生邮箱! http://cn.mail.yahoo.com/