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
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.
|
-
2 matches
Mail list logo