From: | John Hicks <javajohn(at)gulfbridge(dot)net> |
---|---|
To: | pgsql-jdbc(at)postgresql(dot)org |
Cc: | Nookala Satish Kumar <javasatish(at)yahoo(dot)com> |
Subject: | Re: servlets and JDBC (postgresql 7.2) |
Date: | 2002-06-25 06:24:14 |
Message-ID: | 200206250624.g5P6OFL07254@localhost.localdomain |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc |
In-Reply-To:
<20020624154045(dot)62155(dot)qmail(at)web12301(dot)mail(dot)yahoo(dot)com>
Satish--
I have my driver (jdbc7.1-1.2.jar) in TOMCAT-HOME/lib/.
Things seem to be working OK.
Can you tell me what's supposed to be the difference
between common/lib and lib?
Thanks,
--John Hicks
--- Nookala Satish Kumar <javasatish(at)yahoo(dot)com>wrote:
Hi Frederick,
Copy the postgresql JDBC driver "postgresql.jar" file
to the TOMCAT-HOME/common/lib directory. Restart your
tomcat server. That's it.
Regards,
Satish.
--- Frederick Klauschen <fklauschen(at)yahoo(dot)com> wrote:
> I would like to establish a postgresql database
> connection from within a Java Servlet, using
> the Apache Tomcat server.
> Unfortunately, I get the error: "No suitable driver
> found"
> When trying to connect a Java application to the
> same database (same settings (same classpath)),
> everything works fine.
> Is there something special about JDBC and servlets,
> that might have caused this error?
>
> Thanks,
> Frederick
>
From | Date | Subject | |
---|---|---|---|
Next Message | Chris Bitmead | 2002-06-25 06:42:11 | Definite bug in JDBC |
Previous Message | Dave Cramer | 2002-06-25 01:29:32 | Re: Timestamp |