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 2656 invoked from network); 20 Aug 2003 19:09:47 -0000 Received: from uni-sb.de (134.96.252.33) by daedalus.apache.org with SMTP; 20 Aug 2003 19:09:47 -0000 Received: from cs.uni-sb.de (cs.uni-sb.de [134.96.252.31]) by uni-sb.de (8.12.9/2003073000) with ESMTP id h7KJ9etV020662 for ; Wed, 20 Aug 2003 21:09:40 +0200 (CEST) Received: from mail.cs.uni-sb.de (mail.cs.uni-sb.de [134.96.254.200]) by cs.uni-sb.de (8.12.9/2003020700) with ESMTP id h7KJ9TRV022180 for ; Wed, 20 Aug 2003 21:09:39 +0200 (CEST) Received: from activemath.org (klein.ags.uni-sb.de [134.96.236.41]) by mail.cs.uni-sb.de (8.12.9/2003073000) with ESMTP id h7KJ6lvP014987 for ; Wed, 20 Aug 2003 21:06:47 +0200 (CEST) X-Authentication-Warning: email: Host klein.ags.uni-sb.de [134.96.236.41] claimed to be activemath.org Message-ID: <3F43C6C4.3070905@activemath.org> Date: Wed, 20 Aug 2003 21:06:44 +0200 From: Paul Libbrecht User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: fr, 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 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) Luke, I have a version of http-client that has resolve these troubles, just a bunch of try/catch. I haven't had the time to send a patch for it (the one of jakarta-logging is sent)... but if you would like I can send it to you. Paul