X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 82B60D1CF1D for ; Thu, 27 May 2004 23:39:49 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 24856-01 for ; Thu, 27 May 2004 23:39:33 -0300 (ADT) Received: from ms-dienst.rz.rwth-aachen.de (ms-1.rz.RWTH-Aachen.DE [134.130.3.130]) by svr1.postgresql.org (Postfix) with ESMTP id 6920CD1BB17 for ; Thu, 27 May 2004 23:39:27 -0300 (ADT) Received: from r220-1 (r220-1.rz.RWTH-Aachen.DE [134.130.3.31]) by ms-dienst.rz.rwth-aachen.de (iPlanet Messaging Server 5.2 HotFix 1.12 (built Feb 13 2003)) with ESMTP id <0HYE00GD4JLRHJ@ms-dienst.rz.rwth-aachen.de> for pgsql-jdbc@postgresql.org; Fri, 28 May 2004 04:15:27 +0200 (MEST) Received: from relay.RWTH-Aachen.DE ([134.130.3.1]) by r220-1 (MailMonitor for SMTP v1.2.2 ) ; Fri, 28 May 2004 04:15:26 +0200 (MEST) Received: from post.halifax.rwth-aachen.de (post.halifax.RWTH-Aachen.DE [134.130.49.251]) by relay.rwth-aachen.de (8.12.10/8.12.7-1) with ESMTP id i4S2FQKo009016 for ; Fri, 28 May 2004 04:15:26 +0200 (MEST) Received: (qmail 867 invoked from network); Fri, 28 May 2004 02:15:27 +0000 Received: from darkenemy.halifax.rwth-aachen.de (HELO halifax.rwth-aachen.de) ([134.130.48.36]) (envelope-sender ) by stargate.halifax.rwth-aachen.de (qmail-ldap-1.03) with SMTP for ; Fri, 28 May 2004 02:15:27 +0000 Date: Fri, 28 May 2004 04:01:35 +0200 From: Ulrich Meis Subject: Re: cannot find org.postgres.Driver In-reply-to: <20040526220611.32358.qmail@web50505.mail.yahoo.com> To: Felipe Cc: pgsql-jdbc@postgresql.org Message-id: <40B69D7F.9050406@halifax.rwth-aachen.de> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT X-Accept-Language: en-us, en User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20031013 X-Enigmail-Version: 0.76.4.0 X-Enigmail-Supports: pgp-inline, pgp-mime References: <20040526220611.32358.qmail@web50505.mail.yahoo.com> X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=0.3 tagged_above=0.0 required=5.0 tests=HTML_EMBEDS, HTML_MESSAGE X-Spam-Level: X-Archive-Number: 200405/180 X-Sequence-Number: 10190 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 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 or an 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