I am using spring and
struts in my application.
I have wired all the service and dao beans in the application context xml, which gets loaded fine on application start up.
I want to fetch some values from database on start up into some variables of my constants file.
I am using struts plugin for this.
But i am not sure how do i get the service factory class inside plugin class. I can get webapplicationcontext inside myaction class as it extends DispatchAction.
But my plugin class just implements PlugIn interface of struts.
How do i get a service factory in the plugin on start up of the application.. ?