getdatasource in plugin
I am a new bee to struts and would like to know how I can load an object to context on app startup after performing a db operation. The object to be set in context reads values from db. So I have to write a plugin with db access in it. How can I get datasource in the plugin?