Did you try accessing the request headers 'SERVER_PROTOCOL' or 'REFERER'?

-----Original Message-----
From: Nishant Kaushik
To: [EMAIL PROTECTED]
Sent: 2/28/00 11:31 AM
Subject: Security

hi all,
i tried using the getScheme method of the Servlet Request object.
basically
i am trying to extract whether the jsp is being accessed via https or
http.
however, even for a page accessed by https, it returns http. does anyone
know what i need to do to get this method to work, or alternately, how
else
i can get this information.

many thanks

========================================================================
===
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".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to