i am using database as mysql . here i am trying to connect database using datasource but it show error
java.lang.NoClassDefFoundError: org/apache/struts/legacy/GenericDataSource
IDE : Eclipse Europa
</data-sources>
<data-source>
<set-property property="driverClass" value="com.mysql.jdbc.Driver"/>
<set-property property="url" value="Jdbc:Mysql://localhost/employees"/>
<set-property property="maxCount" value="5"/>
<set-property property="minCount" value="1"/>
<set-property property="user" value="root"/>
<set-property property="password" value="vijay"/>
</data-source>
</data-sources>