From owner-freebsd-java Wed Jul 22 23:26:07 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA18920 for freebsd-java-outgoing; Wed, 22 Jul 1998 23:26:07 -0700 (PDT) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from oznet14.ozemail.com.au (oznet14.ozemail.com.au [203.2.192.120]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA18822 for ; Wed, 22 Jul 1998 23:24:30 -0700 (PDT) (envelope-from joe.shevland@horizonti.com) Received: from horizonti.com (cuftas.trump.net.au [203.34.101.12]) by oznet14.ozemail.com.au (8.9.0/8.6.12) with ESMTP id QAA10700 for ; Thu, 23 Jul 1998 16:22:14 +1000 (EST) Message-ID: <35B6D601.99526636@horizonti.com> Date: Thu, 23 Jul 1998 16:19:45 +1000 From: Joe Organization: Horizon Technologies International X-Mailer: Mozilla 4.5b1 [en] (Win95; I) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-java@FreeBSD.ORG Subject: SSL, URLs and Servlets Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, Just wondering if anyone can shed some light on this one. I'm trying to connect back to a servlet on the web server from an applet, using the HTTPS protocol. All I want is to have the servlet return information to my applet (not a web page or anything), basically like a response code. At the moment I construct a URL like: new URL( "https", "www.myhost.com", "/servlets/foo" ) and attempt to get its InputStream. However, this causes problems (a malformed URL exception i.e. no content handler I guess). Does anyone know of any easier way to do this? or an appropriate content handler I guess? I'm thinking this could be done with the HttpSession object somehow. Cheers, Joe. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message