Re: Datasource Retrieval in 1.1 (Help needed)

2002-09-06 Thread Craig Tataryn
From ActionServlet.findDatasource() API docs: Deprecated. Look up data sources directly in servlet context attributes So I replaced my call to : dataSource = getServlet().findDatasource(null); with: dataSource = (DataSource)getServlet().getServletContext().getAttribute(this.DATA_SOURCE_KEY);

Re: [REQUEST API UPDATE] RES: Datasource Retrieval in 1.1 (Help needed)

2002-09-06 Thread Craig Tataryn
List' [EMAIL PROTECTED] Subject: RES: Datasource Retrieval in 1.1 (Help needed) Date: Fri, 6 Sep 2002 12:07:52 -0300 Hi Craig, This question was already answered, look for the subject Connection Pool Question(15/08/2002). Anyway, the code... Then, in your action, you can access your datasource