KEY-----The
servlet context attribute under which this data source will be stored. The attribute is optional and the default value is org.apache.struts.Globals#DATA_SOURCE_KEY.
autoCommit-- value="true" after INSTER ROW,UPDATE ROW,DELETE ROW it will commit the operartion after execution of statement.
url = database server address like
jdbc:mysql-caucho://localhost:3306/datasource
minCount & maxCount may be no of rows to featch.
Look up data sources directly in servlet context attributes insted of findDataSource() method.
InitialContext ic = new InitialContext();
DataSource ds =(DataSource) ic.lookup(dataSourceName);
Connection conn = ds.getConnection();