dcsimg
JDBC Connection
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Monday, October 29, 2007 07:42 AM

I am new to jdbc connection with jsp. Please guide me how to connect.

Re: JDBC Connection

Posted By:   David_Thornton  
Posted On:   Tuesday, October 30, 2007 07:24 PM

Read the JDBC(TM) Database Access Trail in the Sun Java Tutorial for a guide to using JDBC.


In your JSP you will have something similar to this;




Class.forName([JDBC driver class name]);
Connection connection =
DriverManager.getConnection([connection url]);
......
.....

About | Sitemap | Contact