tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Barker" <wbar...@wilshire.com>
Subject Re: Connetion between Tomcat & MySQL
Date Tue, 09 Sep 2003 05:24:25 GMT
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" <galaticempire@yahoo.com> wrote in message
news:20030909034029.17718.qmail@web40708.mail.yahoo.com...
> 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 the MSDOS command and
> specify the envirnomental variables in Window XP. I
> download both the J/Connector & OCBC driver from
> MySQL. Where should be the exact location to store?
>
> Thanks,
> Amy Cheung
>
> __________________________________
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design software
> http://sitebuilder.yahoo.com




Mime
View raw message