Yes, but kludgy
<%
if (!request.isSecure()) {
String qs = "";
if (null!=request.getQueryString())
qs = "?" + request.getQueryString(); response.sendRedirect("https://" +
request.getServerName() +
request.getRequestURI() +
qs
);
return;
}
%>-Tim
Luc Foisy wrote:
Uhg. That tells me that I can make a whole context forced to SSL. By putting the URL path in there. So if I want to enforce any one particular page ( or multiples ) I would have to put each and every one in there? Is there not anything I could add to the jsp file itself to do this?
-----Original Message----- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: Thursday, September 11, 2003 11:23 AM To: Tomcat Users List Subject: Re: Tomcat SSL
FAQ!!!!
http://jakarta.apache.org/tomcat/faq/security.html#https
-Tim
Luc Foisy wrote:
How do I enforce SSL on any given page?
--------------------------------------------------------------------- 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]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
