Re: DataBase connection

2005-05-27 Thread Thibaut L.
ces within your ActionServlet take a look at http://struts.apache.org/api/org/apache/struts/action/ActionServlet.html#dataSources HTH, Martin- - Original Message - From: "Thibaut L." <[EMAIL PROTECTED]> To: Sent: Friday, May 27, 2005 7:49 AM Subject: DataBase connection hi, i

DataBase connection

2005-05-27 Thread Thibaut L.
hi, i'd like to access mysql from the my own controller init method. I usually do : |dataSource = getDataSource(request); myConnection = dataSource.getConnection(); but i have no request object in my init method. Any idea ? thanks. | -