pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ulrich Meis <kenobi@halifax.rwth-aachen.de>
To: Felipe <pipojmr@yahoo.com.mx>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: cannot find org.postgres.Driver
Date: Fri, 28 May 2004 04:01:35 +0200
Message-ID: <40B69D7F.9050406@halifax.rwth-aachen.de> (raw)
In-Reply-To: <20040526220611.32358.qmail@web50505.mail.yahoo.com>
References: <20040526220611.32358.qmail@web50505.mail.yahoo.com>

Felipe wrote:

> I'm using the file pg73jdbc3.jar which is included in my classpath
>  


And here's the problem. Your browser uses the Java Plugin and that has a 
different classpath. You can set it on your machine, but you can't set 
it on everyone's machine who's going to visit your page.
You need to include the jar file in your applet tag. I am not sure if it 
is possible with a plain <applet> tag, but you can try to add 
codebase="pg73jdbc3.jar".
That might fail, but with JDK 1.2 applets you shouldn't use that tag 
anyway. Unfortunately it depends on the browser if you need to use an 
<object> or an <embed> tag, but the whole matter is best discussed here: 
http://java.sun.com/j2se/1.4.2/docs/guide/plugin/developer_guide/contents.html 
where you can find a solution for both major browser families out there.

Greetings,

Uli





view thread (5+ messages)

Message-ID: <40B69D7F.9050406@halifax.rwth-aachen.de>
Permalink:  ../40B69D7F.9050406@halifax.rwth-aachen.de/
Also on:    postgresql.org/message-id/40B69D7F.9050406@halifax.rwth-aachen.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: kenobi@halifax.rwth-aachen.de, pipojmr@yahoo.com.mx
  Subject: Re: cannot find org.postgres.Driver
  In-Reply-To: <40B69D7F.9050406@halifax.rwth-aachen.de>
  References: <20040526220611.32358.qmail@web50505.mail.yahoo.com> <40B69D7F.9050406@halifax.rwth-aachen.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox