| Author |
Problem in accessing data from DB2 v9
|
Abhishek Purwar
Ranch Hand
Joined: Dec 15, 2007
Posts: 62
|
|
Hello friends.. I had encountered a problem in establishing connection between DB2v9 and web application page(using servlet,beans and jsp)........ I mention : Class.forName("com.ibm.db2.jcc.DB2Driver); Connection con=DriverManager.getConnection("jdbc:db2://localhost/airlines", "<system loginid>","<system password>"); Whether the above method of establishing connection is correct or not.....do tell me.... And shall we use same methods as with other database such as MYSQL for retrieving data ........
|
Abhishek Purwar,
Bangalore.
|
 |
Ben Souther
Sheriff
Joined: Dec 11, 2004
Posts: 13410
|
|
"@bhishek Purwar ", Please check your private messages.
|
Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
|
 |
Ben Souther
Sheriff
Joined: Dec 11, 2004
Posts: 13410
|
|
Abhishek Purwar, Thanks.
|
 |
 |
|
|
subject: Problem in accessing data from DB2 v9
|
|
|