I use JDK1.6 and Struts1.3.5,I use Javac to compile a  Action file,like
follows:
javac xxxAction.java
but when I compile it,it raise follows error:

xxxAction.java:31: Can't find symbol
symbol: method getDataSource(javax.servlet.http.HttpServletRequest,
java.lang.String)
location: class xxxAction
       DataSource dataSource=getDataSource(request,"yy");
                             ^
1 error

Why raise above error? How to correct it?
Thanks

Reply via email to