JSP/Tomcat/MySQL
843835Feb 21 2002 — edited Feb 21 2002Hello 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!!!!