X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id D2285D1B33F for ; Wed, 30 Jun 2004 11:01:53 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 80868-03 for ; Wed, 30 Jun 2004 14:01:52 +0000 (GMT) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.183]) by svr1.postgresql.org (Postfix) with ESMTP id 6D1F8D1B1EC for ; Wed, 30 Jun 2004 11:01:47 -0300 (ADT) Received: from [212.227.126.207] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1Bffeo-0000bT-00; Wed, 30 Jun 2004 16:01:50 +0200 Received: from [212.144.83.237] (helo=puck.klawitter.local) by mrelayng.kundenserver.de with asmtp (TLSv1:RC4-MD5:128) (Exim 3.35 #1) id 1Bffeo-0006Ah-00; Wed, 30 Jun 2004 16:01:50 +0200 From: Holger Klawitter To: cedric.picard@esial.uhp-nancy.fr, pgsql-jdbc@postgresql.org Subject: Re: Applet problem Date: Wed, 30 Jun 2004 16:01:42 +0200 User-Agent: KMail/1.5.4 References: <1088599787.40e2b6eb13e58@venus.esial.uhp-nancy.fr> In-Reply-To: <1088599787.40e2b6eb13e58@venus.esial.uhp-nancy.fr> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Description: clearsigned data Content-Disposition: inline Message-Id: <200406301601.48753.lists@klawitter.de> X-Provags-ID: kundenserver.de abuse@kundenserver.de auth:c3f09bf0911098d231c83d2978ee4594 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.1 tagged_above=0.0 required=5.0 tests=RCVD_IN_SORBS X-Spam-Level: X-Archive-Number: 200406/178 X-Sequence-Number: 10380 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, > in fact when i use jdbc for postgresql with a basic java program it > perfectly works. > when i try to connect from the server to the server it works. When i try > from an other computer to the server it works. > but when i try to use it from my applet, it says it cant load the drivers= .I > tried from the server and from another computer , it both does'nt work. The classpath of an applet is very restricted and specifically different from standalone applications. You have to bring the postgresql code into the classpath. The canonical way would be to create one jar-file containing your applet and all needed class= es from postgresql.jar, but there are probly better ways I don't know of :-) Mit freundlichem Gru=DF / With kind regards Holger Klawitter - -- lists klawitter de -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQFA4sfM1Xdt0HKSwgYRAlpsAJ9VESrW7gAYZOFqC/7YNxoFYG24OwCfaa1g +pns4GKpgSrbx9N2HPUvQ9o=3D =3Disx6 -----END PGP SIGNATURE-----