File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

connecting to Data Base

arunas rao

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

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

Joined: Jun 28, 2005
Posts: 5

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
I agree. Here's the link:
subject: connecting to Data Base
jQuery in Action, 3rd edition