Hi, I have successfully madea program that access my sql database sevrer. I tried to create another project connecting to the same data base and cannot get it to work, I even ended up copying over the code from the other project. Both projects are in net beans.
I was able to track the problem down to Class.forName("com.mysql.jdbc.Driver"); Which seems to be setting off an exception. I have the following code out.println("pos a"); Class.forName("com.mysql.jdbc.Driver"); out.println("pos b"); The pos gest printed out, and pos b does not. The catch cathes an exception . Why does Class.forName("com.mysql.jdbc.Driver"); set of an exception, it works fine in my other project.? Ted
-- You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programming-with-passion@googlegroups.com To unsubscribe from this group, send email to java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en