so what kind of connection is best? using the
J/Connector or the OCBC one?
--- Bill Barker [EMAIL PROTECTED] wrote:
Assuming that you aren't using JDBCRealm, then it
should be enough to put
the jar file in $TOMCAT_HOME/lib/apps. If you are
using JDBCRealm, then
place it in
--- Bill Barker [EMAIL PROTECTED] wrote:
Assuming that you aren't using JDBCRealm, then it
should be enough to put
the jar file in $TOMCAT_HOME/lib/apps. If you are
using JDBCRealm, then
place it in $TOMCAT_HOME/lib/common.
Setting the CLASSPATH is evil ;-).
Amy Cheung [EMAIL
I'll assume that you're using Connector /J. Stick the file
mysql-connector-java-x.y.zz-bin.jar (where x.y.zz is the version number)
in Tomcat's common/lib directory.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
My apologies (and my tping error), the directory should be common/lib, not
lib/common.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Any JDBC driver for mysql (that works for you) will do.
Amy Cheung wrote:
so what kind of connection is best? using the
J/Connector or the OCBC one?
--- Bill Barker [EMAIL PROTECTED] wrote:
Assuming that you aren't using JDBCRealm, then it
should be enough to put
the jar file in
There is two things you can do. Set your CLASSPATH to include mm.mysql.driver and
include the jar in your webapps lib folder.
HTH
Kind Regards
Schalk
Volume4
OK. Thanks. It can connects to the database now.
Here is a minor problem. The results I obtained from
the query is a ResultSet, rs. I keyed in this code:
while (rs.next())
{
System.out.print(rs.getString(RoomID);
}
In the Tomcat server, it printed the results that I
wanted. How to incorporate
-
From: Schalk [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 09, 2003 6:20 AM
To: Tomcat Users List
Subject: Re: Connetion between Tomcat MySQL
There is two things you can do. Set your CLASSPATH to include
mm.mysql.driver and include the jar in your webapps lib folder.
HTH
Kind
[EMAIL PROTECTED]
Sent: Tuesday, September 09, 2003 4:40 AM
Subject: Connetion between Tomcat MySQL
Hi,
I am using Tomcat 3.3.1 and MySQL 4.0 in Window XP.
MySQL engine is running. When I run my jsp, it stated
the error that import com.mysql.Driver not found.
Anyone know how to install
Hi,
I am using Tomcat 3.3.1 and MySQL 4.0 in Window XP.
MySQL engine is running. When I run my jsp, it stated
the error that import com.mysql.Driver not found.
Anyone know how to install the driver properly? I read
something about setting the class path. But where to
set? I don't know much about
Assuming that you aren't using JDBCRealm, then it should be enough to put
the jar file in $TOMCAT_HOME/lib/apps. If you are using JDBCRealm, then
place it in $TOMCAT_HOME/lib/common.
Setting the CLASSPATH is evil ;-).
Amy Cheung [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi,
I
11 matches
Mail list logo