sri nivasan

Greenhorn
+ Follow
since Mar 10, 2004
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by sri nivasan

I know that database is accessed using <data-source> in struts-config.
but what are all the properties we need to specify?
data-source>
<set-property property="autoCommit" value="false"/>
<set-property property="key" value=""/>
<set-property property="description" value=""/>
<set-property property="driverClass" value=""/>
<set-property property="maxCount" value="8"/>
<set-property property="minCount" value="2"/>
<set-property property="url" value=""/>
<set-property property="user" value=""/>
<set-property property="password" value=""/>
</data-source>
What are maxCount,minCount,url,key ???
And i found that findDataSource() method is deprecated so what do i use in action class/ or databaseconnection class?
Can any body take time and explain me how to open connection using DataSource?

Thanks inadvance.
Sri
21 years ago