Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 53638 invoked from network); 21 Feb 2002 17:12:31 -0000 Received: from unknown (HELO mail.covalent.net) (64.84.39.163) by daedalus.apache.org with SMTP; 21 Feb 2002 17:12:31 -0000 Received: (qmail 11743 invoked from network); 21 Feb 2002 16:12:32 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by mail.covalent.net with SMTP; 21 Feb 2002 16:12:32 -0000 Received: (qmail 22778 invoked by uid 97); 21 Feb 2002 16:11:14 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@jakarta.apache.org Received: (qmail 22734 invoked by uid 97); 21 Feb 2002 16:11:13 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 22690 invoked from network); 21 Feb 2002 16:11:13 -0000 Message-ID: <487ED20D9345E440AE5D0435CE5AE37B0152BECC@sse-swe04it01> From: "Cato, Christopher" To: 'Tomcat Users List' Subject: RE: HELP PLEASE!!!: JSP/Tomcat/MySQL Date: Thu, 21 Feb 2002 17:06:48 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Can we see the code where you allocate the driver handle and the connection? /Christopher -----Original Message----- From: fusterjj [mailto:juanf@dotecengineering.com] Sent: den 21 februari 2002 17:23 To: Tomcat Users List Subject: HELP PLEASE!!!: JSP/Tomcat/MySQL Hello JSP developers! I have a problem trying to connect to MySQL database when I am doing a JSP or a servlet. I think the problem has to be with Tomcat, because when I do a java application with a database connection works perfectly, so there must be Tomcat. I am working with Java j2sdk1.4.0 and Netbean as my IDE. When I compile the JSP under the IDE does not give me any errors but when I try to see the result with Tomcat 4.0 does not seem to recognize the mm.mysql driver and gives me the following errors: Generated servlet error: D:\Apache Tomcat 4.0\work\localhost\_\JspMySQL$jsp.java:75: Class org.apache.jsp.Connection not found. Generated servlet error: D:\Apache Tomcat 4.0\work\localhost\_\JspMySQL$jsp.java:76: Class org.apache.jsp.ResultSet not found. ResultSet results; It gives me more errors, related to the connection. If you are willing to help me I can send you the exception report that Tomcat generates. I would really appreciate if you help me about this issue, because I am beginnig to get frustated. Thanks!!!! -- To unsubscribe: For additional commands: Troubles with the list: