Hello,

i have to write a Custom Tag, which needs some data from a database. I found
following example but I can't find the corresponding classes (DataSourceService
),
public static Connection getUsingCFService(String datasource) {
DataSourceService ds =
coldfusion.server.ServiceFactory.getDataSourceServ ice();
try {
return ds.getDatasource(datasource).getConnection();
} catch (SQLException e) {
throw new RuntimeException(e);
}
}
Is this example ok? Which jar-files do I need?

Thanks for reading

Thomas