网上查了,发现说的不够明确。
具体代码:<plug-in className="com.beiktech.dbutil.InitHibernateDataStore">
<set-property property="configFilePath" value="/hibernate.cfg.xml" />
</plug-in>这个会在tomcat启动时进入这个类进行加载,运行init方法,而且init方法是针对struts1的,请问改为struts2后如何实现,谢谢