From: | vivi oktavia <just_basma(at)yahoo(dot)com> |
---|---|
To: | pgsql-jdbc(at)postgresql(dot)org |
Subject: | no suitable driver |
Date: | 2001-11-09 02:32:30 |
Message-ID: | 20011109023230.54057.qmail@web12006.mail.yahoo.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc |
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
From | Date | Subject | |
---|---|---|---|
Next Message | Dave Cramer | 2001-11-09 02:48:48 | Re: MD5-based passwords |
Previous Message | Tom Lane | 2001-11-09 02:26:29 | Re: MD5-based passwords |