Wednesday, December 31, 2008

Servlets and MySQL

1.hi everybody,..... Happy New Year Wishes 2009 for all...

2. the following steps will give you how to run servlets using mysql as DataBase.

3.first download mysql dbase by googling it.
then
A servlet connects to a MySQL database using a MySQL 'Driver'. Go to 
http://dev.mysql.com/downloads/connector/j/5.0.html
and download from 'source and binaries (zip)'
mysql-connector-java-5.0.4.zip
Unzip the file and move 'mysql-connector-java-5.0.4-bin.jar' to
C:\Program Files\Java\jre1.5.0_07\lib\ext\mysql-connector-java-5.0.4-bin.jar

Now you are ready to use an HTML form and Servlet to access your database!

......................Have Nice day..........for details contact jaswanth424@yahoo.co.in

No comments: