The moose likes JDBC and Relational Databases and the fly likes MySQL Connector/J 2.0.14 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "MySQL Connector/J 2.0.14" Watch "MySQL Connector/J 2.0.14" New topic

MySQL Connector/J 2.0.14

Niklas Persson

Joined: Sep 08, 2002
Posts: 1
Hello !
I have some problem when I try to use Mysql and java server pages.
My test page, test.jsp:
java.sql.Connection conn;
conn = java.sql.DriverManager.getConnection(
java.sql.Statement s = conn.createStatement();
java.sql.ResultSet rs = s.executeQuery("select strEname, strFname from tbl_contacts");
while( {
out.println(rs.getString("strEname") + " = "
+ rs.getString("strFname") + "<BR>");
From this code I get the following errors:
at org.apache.jasper.runtime.PageContextImpl.handlePageException(
at org.apache.jsp.test$jsp._jspService(test$
at org.apache.jasper.runtime.HttpJspBase.service(
at javax.servlet.http.HttpServlet.service(
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(
at org.apache.jasper.servlet.JspServlet.serviceJspFile(
at org.apache.jasper.servlet.JspServlet.service(
at javax.servlet.http.HttpServlet.service(
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
at org.apache.catalina.core.ApplicationFilterChain.doFilter(
Any suggestions or did any one come across this kind of problem before ?

Thanks for any help
David O'Meara

Joined: Mar 06, 2001
Posts: 13459

The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at
We require names to have at least two words, separated by a space, and strongly recommend that you use your full real name. Please edit your profile and select a new name which meets the requirements.
I agree. Here's the link:
subject: MySQL Connector/J 2.0.14
It's not a secret anymore!