This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes JDBC and Relational Databases and the fly likes OS390 JDBC Connection to DB2 from JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "OS390 JDBC Connection to DB2 from JSP" Watch "OS390 JDBC Connection to DB2 from JSP" New topic

OS390 JDBC Connection to DB2 from JSP

Bill Cochrane

Joined: Jan 22, 2002
Posts: 1
I am trying to connect to DB2 from a JSP. I'm using Websphere Application Server 4.0 running under OS390. I keep getting a server-side error (I don't yet know how to see what the error is).
Do I use the following driver?
or since I am not (yet) using SQLJ should it be:
"" ?
My URL is: "jdbc b2os390 BT1" where DBT1 is the local DBT instance.
Omitting the try/catch statements I have:
String db2Driver = "ibm.sql.DB2Driver";
String url = "jdbc b2os390 BT1";
Connection con;
con = DriverManager.getConnection (url);
Have you checked out Aspose?
subject: OS390 JDBC Connection to DB2 from JSP
It's not a secret anymore!