In the sturts-config.xml my code is :
<data-sources>
<data-source type="org.apache.commons.dbcp.BasicDataSource">
<set-property property="driverClassName"
value="com.mysql.jdbc.Driver" />
<set-property property="url"
value="jdbc:mysql://192.168.0.150:3306/java_video_prj" />
<set-property property="username"
value="root" />
<set-property property="password"
value="" />
</data-source>
in the action
servlet i want to get the datasource using the method
DataSource dss = getDataSource(request);
It is showing the error :
Cannot resolve the symbol
method getDataSource(request);
I have put the sturts-lagency.jar into the lib folder but the thing does not change
Please help