i configured sql server datasource in struts-config

 <data-sources>
  <data-source key="SqlGordon"
               type="com.microsoft.jdbcx.sqlserver.SQLServerDataSource">
   <set-property property="ServerName"
                 value="Gordon"/>
   <set-property property="DatabaseName"
                 value="lanaco"/>
   <set-property property="User"
                 value="sa"/>
   <set-property property="Password"
                 value="sa"/>
  </data-source>
 </data-sources>

but when i try to instantiate DataSource object in my action

ds = getDataSource(request);

struts complains that it can not find GenericDataSource. (legacy package is
not in the classpath)

do i need GenericDatasource at all? i thought i can live without it since
SQLServerDataSource implements DataSource interface.

thankyou!

dario




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to