SSH的配置文件【部分】
---------spring 中配置hibernateTemplate模板:
<bean id="hibernateTemplate" />
?<plug-in
??className="org.springframework.web.struts.ContextLoaderPlugIn">
??<set-property property="contextConfigLocation"
???value="/WEB-INF/classes/applicationContext.xml" />
?</plug-in>
?
?
---------web.xml中需要添加的配置
<context-param>
??<param-name>contextConfigLocation</param-name>
??<param-value>
???/WEB-INF/classes/applicationContext.xml
??</param-value>
?</context-param>
?<listener>
??<listener-class>
???org.springframework.web.context.ContextLoaderListener
??</listener-class>
?</listener>
?
并修改jar文件,将common-pool.jar加入工程,并将asm-2.2.3.jar删除