Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
    Bookmark Topic Watch Topic
  • New Topic

DB2 DataSource for Struts  RSS feed

 
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
Posts: 65897
135
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
Boost this thread!