Return-Path: Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 79510 invoked from network); 20 Aug 2003 18:59:59 -0000 Received: from mxout3.cac.washington.edu (140.142.32.166) by daedalus.apache.org with SMTP; 20 Aug 2003 18:59:59 -0000 Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.9]) by mxout3.cac.washington.edu (8.12.9+UW03.06/8.12.9+UW03.06) with ESMTP id h7KIxmgG030793 for ; Wed, 20 Aug 2003 11:59:48 -0700 Received: from u.washington.edu (ss05.co.us.ibm.com [32.97.110.70]) (authenticated bits=0) by smtp.washington.edu (8.12.9+UW03.06/8.12.9+UW03.06) with ESMTP id h7KIxkXZ010847 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT) for ; Wed, 20 Aug 2003 11:59:47 -0700 Message-ID: <3F43C4E4.1050305@u.washington.edu> Date: Wed, 20 Aug 2003 14:58:44 -0400 From: Michael Becke User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5b) Gecko/20030723 Thunderbird/0.1 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jakarta Commons Users List Subject: Re: HttpClient in an applet References: <013101c36748$3ea1c040$0800a8c0@GALT> In-Reply-To: <013101c36748$3ea1c040$0800a8c0@GALT> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hello Luke, HttpClient accesses a number of system properties. This is a problem when running in an unsigned applet because of the security manager. Currently, signing the applet is the only way to get HttpClient working in this situation. Mike luke cassady-dorion wrote: > is there any reason the HttpClient should not work in an applet? i am > connecting back to the same server and port (localhost:8080) that the > applet is hosted on but i get this error. > > java.lang.ExceptionInInitializerError > at > org.apache.commons.httpclient.HttpState.(HttpState.java:161) > at org.apache.commons.httpclient.HttpClient.(HttpClient.java:143) > > at > org.apache.commons.httpclient.HttpClient.(HttpClient.java:128) > at > com.netraker.ui.editor.EditXMLApplet.getNRDL(EditXMLApplet.java:41) > at com.netraker.ui.editor.EditXMLApplet.init(EditXMLApplet.java:20) > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: commons-user-help@jakarta.apache.org >