• Post Reply Bookmark Topic Watch Topic
  • New Topic

Prob using DataSource  RSS feed

Mothea Anil Kumar
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I am using "datasource" in struts. I defined in struts-config.xml as,


<data-source key="jdbc/struts">
<set-property property="autoCommit" value="true"/>
<set-property property="driverClass" value="sun.jdbc.odbc.JdbcOdbcDriver"/>
<set-property property="maxCount" value="5"/>
<set-property property="minCount" value="1"/>
<set-property property="user" value="sa"/>
<set-property property="password" value=""/>
<set-property property="url" value="jdbc dbc:testing"/>


My doubt is it possible to use this datasource directly in ActionServlet.
or any other way to do this . Plz tell me.

Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!