I think.....

String scheme = request.getScheme();



-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Dion Almaer
Sent: Monday, October 11, 1999 10:17 AM
To: [EMAIL PROTECTED]
Subject: JSP Getting HTTPS or HTTP


Hi all,

How can you find out if the JSP page is running under https or http?

Like: request.ServerVariables("HTTPS")

Thanks,

Dion

--
         \\|//
         (o o)
+----oOOo-(_)-oOOo--------------------------------------------------+
|   [EMAIL PROTECTED]   | "There are three kinds of people            |
| www.almaer.com/dion |  those who can count, and those who can't"  |
+-------------------------------------------------------------------+

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to