由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Java版 - anyone can help me with this program?
相关主题
Java 1-to-1 chat program土人问个J2EE的弱问题 *_<
Re: How can I get localhost's address in a Applet?有没有人熟悉tomcat?急!
why it does not work?? :(((jsp文件不能compile是咋回事?
Run Servlet with Tomcat问一个奇怪的tomcat+svg问题
急问:TOMCAT1.4.1+iis如何配置?下载了petstore2.0,搞了一下午没有搞定!帮忙呀
How to compute round-trip time to webserstill web.xml question
How to connect to SQL2000?HTTP Status 404 The requested resource (/abc/index.jsp) is not available.
上传和下载JPG到MYSQL数据库代码如下奇怪的现象
相关话题的讨论汇总
话题: anyone话题: program话题: me话题: string话题: mysql
进入Java版参与讨论
1 (共1页)
l********r
发帖数: 187
1
I am always getting a "Exception: No suitable driver found for jdbc:mysql://
localhost:3306/test" from the following program. I have installed mysql
connector for Java and ODBC driver. Could anyone tell me what might be wrong
? I am using Fedora Linux 6.. The source code is listed bewlow:
import java.sql.*;
public class DBJava {
public static void main(String args[]) {
Connection con = null;
String query = "SELECT * FROM temp";
try {
Class.forName("sun.jdbc.odbc.JdbcOdbcDriv
y********o
发帖数: 2565
2
Hey, I thought that the driver name for mysql jdbc is "com.mysql.jdbc.Driver
" instead.
1 (共1页)
进入Java版参与讨论
相关主题
奇怪的现象急问:TOMCAT1.4.1+iis如何配置?
新手请教netbean的问题How to compute round-trip time to webser
Runtime.exec() 不能读terminal 了?How to connect to SQL2000?
新手请教 java applet+html 入门级问题上传和下载JPG到MYSQL数据库代码如下
Java 1-to-1 chat program土人问个J2EE的弱问题 *_<
Re: How can I get localhost's address in a Applet?有没有人熟悉tomcat?急!
why it does not work?? :(((jsp文件不能compile是咋回事?
Run Servlet with Tomcat问一个奇怪的tomcat+svg问题
相关话题的讨论汇总
话题: anyone话题: program话题: me话题: string话题: mysql