Received: from web12006.mail.yahoo.com (web12006.mail.yahoo.com [216.136.172.214]) by postgresql.org (8.11.3/8.11.4) with SMTP id fA92WQm32480 for ; Thu, 8 Nov 2001 21:32:26 -0500 (EST) (envelope-from just_basma@yahoo.com) Message-ID: <20011109023230.54057.qmail@web12006.mail.yahoo.com> Received: from [202.158.28.41] by web12006.mail.yahoo.com via HTTP; Thu, 08 Nov 2001 18:32:30 PST Date: Thu, 8 Nov 2001 18:32:30 -0800 (PST) From: vivi oktavia Subject: no suitable driver To: pgsql-jdbc@postgresql.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Archive-Number: 200111/114 X-Sequence-Number: 2311 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