Skip site navigation (1) Skip section navigation (2)

Re: Applet problem

From: Holger Klawitter <lists(at)klawitter(dot)de>
To: cedric(dot)picard(at)esial(dot)uhp-nancy(dot)fr, pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Applet problem
Date: 2004-06-30 14:01:42
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-jdbc
Hash: SHA1


> 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 classes
from postgresql.jar, but there are probly better ways I don't know of :-)

Mit freundlichem Gruß / With kind regards
	Holger Klawitter
- --
lists <at> klawitter <dot> de
Version: GnuPG v1.2.2 (GNU/Linux)


In response to

pgsql-jdbc by date

Next:From: cedric.picardDate: 2004-06-30 14:17:30
Subject: Re: Applet problem
Previous:From: Jim EwertDate: 2004-06-30 13:45:58
Subject: Performance Issues in 7.4.3

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group