Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

JSP and MySQL.. Help Please

Status
Not open for further replies.

aarushi2001

Technical User
Nov 16, 2005
109
US
Hi,

Can anyone help me with mysql-connector-java-3.1.11 and tomcat??

I have installed Tomcat 5.5.12 and MySql-Connector-Java-3.1.11 under common/lib

How can I use JSP and MySql? Please help..
 
I think some more details are needed.

You need help about everything, a tutorial or anything special?

Cheers,
Dian
 
I dont need help abt everything.. I have worked with JSP and MySQL but that was like 2 years back. cant understand MySql Connector.. thats all..

More info: I have installed JDK, MySQL, Tomcat and MySQL Connector. JDK is working well (wrote a java program and worked well), MySQL is also working and I can even code in JSP.

Once I understand MySQLConnector, I can create database-driven website (basically how to set up MySQL connector and access database).

I hope I clarified myself.

Thanks
 
Not sure what you mean by "MySQLConnector" - but the jar file you talk of provides JDBC support for connecting to a MySQL (or any other db) database via JDBC.

Read the tutorials and documentation here :
--------------------------------------------------
Free Java/J2EE Database Connection Pooling Software
 
I am not able to use that jar file, the way tutorial asks to put it under common/lib.. I have done but when I try n connect, am given an error..
 
If you post the error, it can be a good beginning.

Cheers,
Dian
 
... in addition, posting the code you're using to connect might be a good idea.

Tim
---------------------------
"Your morbid fear of losing,
destroys the lives you're using." - Ozzy
 
What do you mean by "I am not able to use that jar file" ? In what way are you not able ?

--------------------------------------------------
Free Java/J2EE Database Connection Pooling Software
 
Well done [smile]

Tim
---------------------------
"Your morbid fear of losing,
destroys the lives you're using." - Ozzy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top