It's not a secret anymore!
The moose likes JDBC and Relational Databases and the fly likes How to Connect MySQL from JSP Page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Reply locked New topic

How to Connect MySQL from JSP Page

Sandeep Chhabra
Ranch Hand

Joined: Aug 28, 2005
Posts: 340
Can anyone please tell me that how can i connect to MySQL from a JSP page.
I have already created a Database in MySQL and i had also connected to it through JDBC from an application. But I want to do it from a JSP.
I dont know if this question suits this forum of JSP forum..

Hope someone will help


Regards<br />Sandy<br />[SCJP 5.0 - 75%]<br />[SCWCD 1.4 - 85%]<br />------------------<br />Tiger, Tiger burning bright,<br />Like a geek who works all night,<br />What new-fangled bit or byte,<br />Could ease the hacker's weary plight?
Maximilian Xavier Stocker
Ranch Hand

Joined: Sep 20, 2005
Posts: 381
Continuation of
Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 33132

You are correct the question belongs in JDBC. Please continue discussion in your original thread since it is about the same thing.

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
I agree. Here's the link:
subject: How to Connect MySQL from JSP Page
It's not a secret anymore!