should be identified as DataSources 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: <user@struts.apache.org>
Sent: Friday, May 27, 2005 7:49 AM
Subject: DataBase connection


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.
|




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to