Problem In sturts
Hi i am new in struts
When i want to connect the database using the method
getDataSource(request)
The compiler will give error that cannot find the method
The code i have written is given below
DataSource datasource = null;
datasource = getDataSource(request);
Pleaase help
Suhas
[337 byte] By [
Suhas_feba] at [2007-11-27 5:15:07]

# 1
That might have been due to various reasons.Primarily , you might not have included the required jar files in your application. Does your Action class shows any import error? Where do you write your databse connection? are you using connection pooling ? Complete details of where the error occured could help you to solve the issue sooner.
-Jegan