Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 64504 invoked from network); 26 Jun 2006 06:43:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 26 Jun 2006 06:43:58 -0000 Received: (qmail 15304 invoked by uid 500); 26 Jun 2006 06:43:46 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 15033 invoked by uid 500); 26 Jun 2006 06:43:45 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 15022 invoked by uid 99); 26 Jun 2006 06:43:45 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 25 Jun 2006 23:43:45 -0700 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_WHOIS,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [206.190.48.167] (HELO web52404.mail.yahoo.com) (206.190.48.167) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 25 Jun 2006 23:43:43 -0700 Received: (qmail 78256 invoked by uid 60001); 26 Jun 2006 06:43:22 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=xyvQgRRKj1JP9lyuI6FYdJF/G/zKRx9K6NQ1l3AsrlyAnasHJ5HGKEF1GegXZlzFOkQa7bVR4kIO1g18YBhIUGEoUA9gyeS04yr2kEzuieoAIj/80r5u3QPgNaN9RiLL+16XUxOhajqNOU98VuvO2k9NVIMvmKkd7kSkDA4nPYY= ; Message-ID: <20060626064322.78254.qmail@web52404.mail.yahoo.com> Received: from [203.193.164.99] by web52404.mail.yahoo.com via HTTP; Sun, 25 Jun 2006 23:43:22 PDT Date: Sun, 25 Jun 2006 23:43:22 -0700 (PDT) From: Sameer Acharya Subject: Re: automatically detecting if HTTPS is supported To: Tomcat Users List In-Reply-To: <449C16B2.1070904@aei.mpg.de> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-601151936-1151304202=:65635" Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --0-601151936-1151304202=:65635 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit You should be able to do a isSecure() on the request object to check if the request is thru' secure channel. -Sameer Jason Novotny wrote: Hi, I have a JSP that does a form submission, and I'm wondering if there's any way I can detect if HTTPS is supported so that I can create a secure https connection to my servlet, or use normal http if not. Thanks, Jason --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org --------------------------------- Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2�/min or less. --0-601151936-1151304202=:65635--