How to connect to Informix database from JSP
1 posts in topic
Flat View  Flat View

Posted By:   A_JP
Posted On:   Tuesday, November 20, 2001 07:15 PM

Hi !
Could anyone tell me how to connect to Informix database from JSP. What driver should I use for it and where can I download it. Explanation with sample code is appreciated.


Re: How to connect to Informix database from JSP

Posted By:   Bozidar_Dangubic  
Posted On:   Wednesday, November 21, 2001 09:17 AM

driver can be downloaded from informix's web site. you have to run setup when you download it. file ifxjdbc.jar is your driver which needs to be in the classpath of the component which is to use it (JSP in your case). you would load the driver into the JVM, get an instance of the DriverManager and call getConnection() on it to connect to the database. while getting an instance of the driver manager you will need to give the location of your database and user credentials.

About | Sitemap | Contact