> -----Messaggio originale-----
> Da: # Lalit Nagpal # [mailto:[EMAIL PROTECTED]] 
> Inviato: gioved� 2 maggio 2002 11.09
> A: [EMAIL PROTECTED]
> Oggetto: what is needed to connect to mysql
> 
> 
> 
> hello,
> 
> plz can anybody tell me how to connect to a mysql database 
> through a servlet. i know how to prepare a connection etc 
> through code but what other settings are needed. i am using 
> tomcat 4 as a standalone.
> 
> The error i get is "Class not found org.gjt.mm.mysql.Driver"
> 
> plz help ... 
> 

Put your jdbc driver for mysql in your {webapp}/WEB-INF/lib/folder ...
It should work!

Bye, Grava



--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to