From: vivi oktavia <just_basma@yahoo.com>
To: pgsql-jdbc@postgresql.org
Subject: no suitable driver
Date: Thu, 8 Nov 2001 18:32:30 -0800 (PST)
Message-ID: <20011109023230.54057.qmail@web12006.mail.yahoo.com> (raw)
hi all..
i'm a beginner at using postgresql, especially in
linux. First of all, i want to ask about the
configuration at the jsp server. I use apache and
jakarta-tomcat-3.2.3.
What should i do first to connect the database at
postgresql to my jsp script using jdbc7.1-1.2.
I already use
Class.forname(org.postgresql.Driver)
jdbc:postgresql:databasename
at my script.
We put the jdbc7.1-1.2.jar at
/usr/java/jdk1.3.1_01/jre/lib/ext/
and we set the classpath at /etc/profile
We put our jsp script at
/jakarta-tomcat-3.2.3/webapps/examples/jsp/
Is that right, i mean the place and the setting of the
file. Because we still have error when we call our
script ..http://127.0.0.1/examples/jsp/...
the msg errors are:
Internal Servlet Error :
javax.servlet.ServletException : No suitable driver
at org.apache.jasper.runtime.....
.....
Root Cause :
java.sql.SQLException : No suitable driver
at
java.sql.DriverManager.getConnection(DriverManager.java:537)....
......
That'all..perhaps anyone can help me to solve the
problem...
Thanks..
vivi
__________________________________________________
Do You Yahoo!?
Find a job, post your resume.
http://careers.yahoo.com
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: just_basma@yahoo.com
Subject: Re: no suitable driver
In-Reply-To: <20011109023230.54057.qmail@web12006.mail.yahoo.com>
References: <20011109023230.54057.qmail@web12006.mail.yahoo.com>
* 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