This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Servlets and the fly likes connecting to Data Base Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Servlets
Reply locked New topic
Author

connecting to Data Base

arunas rao
Greenhorn

Joined: Jun 28, 2005
Posts: 5
How to connect to a MySQL database from a servlet using tomcat server?
what is the driver to be used?
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Please don't cross-post. It becomes hard to follow the thread of a question if it exists in more than one topic. Does my post in your other identical topic not answer your question? If not please elaborate what you don't understand in your original topic.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
arunas rao
Greenhorn

Joined: Jun 28, 2005
Posts: 5
Hello,sir

I am facing problem connecting to a database through a servlet or a JSP application.To store data into the database from the application and to retrive.cross posting that question was by mistake.i will take care not to repeat it
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: connecting to Data Base