Win a copy of The Business Blockchain this week in the Cloud forum!
    Bookmark Topic Watch Topic
  • New Topic

DB2 DataSource for Struts

 
Laura Lee
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Report post to moderator
Dear All,
I am using WSAD to implement a Struts web app, with DB2 as database.
I am not sure what <data-source>'s type and driverClassName I should define/use for DB2 connection within struts-config.xml file.

Your tips is greatly appreciated,

laura
 
Rajendar Goud
Ranch Hand
Posts: 220
  • Mark post as helpful
  • send pies
  • Report post to moderator
Laura,
For database connection ,the driver class for DB2 database is generally
com.ibm.db2.jcc.DB2Driver

As of datasource, it is created by you and so it depends on what web or application server you r creating it.


Thanks
Raj
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65335
97
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please do not cross-post the same question in multiple forums.
 
    Bookmark Topic Watch Topic
  • New Topic