Depends on the servlet container, really, and the interaction between the
container and the webserver. When you use Apache (one of my... erm...
favorite products), what may be happening is that mod_jk or mod_jserv is
stripping out the actual protocol for the servlet container, changing it to
HTTP for internal communication only, then rerouting it to HTTPS on the
opposite end.
As far as a solution... I don't have one for you, outside of "Don't use
Apache." Others may have better (i.e., different) answers; my suggestion is
to use Orion instead, and if you can't deal with working with a great app
server, try resin or something like that. :)
>From: Rathna <[EMAIL PROTECTED]>
>Reply-To: A mailing list about Java Server Pages specification and
> reference <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Problem in getting the protocol
>Date: Sat, 5 May 2001 11:27:22 +0530
>
>Hi all,
>
>sorry for the off topic question but i am sure some body can thru'
>light on this.
>
>our application has HTTPS setup on apache 1.3 webserver.we are facing
>problem on geting the protocol value.when we issue request.getScheme()
>command it always returns HTTP instead of HTTPS.How do i get the
>protocol
>value? FYI,we need a protocol value to use for response.sendRedirect().
>
>Thanks in advance .
>
>
>--
>Cheers,
> rathna
>
>===========================================================================
>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
>JSP-INTEREST".
>For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
>DIGEST".
>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
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
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