This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes JDBC and the fly likes Database connection Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Database connection" Watch "Database connection" New topic
Author

Database connection

nhlanhla mazibuko
Greenhorn

Joined: Mar 28, 2008
Posts: 16
Hi there.
Please can you help me with the code that i can use to connect mysql database and a jsp page
please

Nhlanhla
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 39478
    
  28
Java™ Tutorials about databases.
MySQL documentation; you would need this chapter for Java in MySQL5.0.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Database connection