I need to migrate an application from struts1 to struts2.1.6.
I had a plug-in configurations existing in Strut1 application related to SAP
connection pool creation(CCreateSAPConnectionPlugin.java as shown below
implementing org.apache.struts.action.PlugIn).This will create a SAP
connection pool with connections.
How this can be implemented through struts2.1.6.
Is there a facility to implement custom plugin and to make it called dusting
application startup.
<!-- ========== Declare Log Plugin =====================================-->
<plug-in className="com.utc.test.loadonstatup..util.LogPlugin">
<set-property property="devlLogConfigFile"
value="/log4j.properties"/>
</plug-in>
<!-- ========== Declare SAP Plugin =====================================-->
<plug-in
className="com.utc.test.loadonstatup..util.CCreateSAPConnectionPlugin">
<set-property property="devlSapConfigFile"
value="/config/config.properties"/>
</plug-in>
Regards,
Raghu