指定Spring配置文件位置
contextConfigLocation /WEB-INF/spring-dao-bean.xml,/WEB-INF/spring-resources.xml, /WEB-INF/spring-service-bean.xml
定义Spring监听器加载Spring
org.springframework.web.context.ContextLoaderListener
配置Struts
action com.weboa.util.web.EbusinessActionServlet config /WEB-INF/struts-config.xml debug 2 detail 2 2 action *.htm
定义:spring-dao-bean.xml
classpath:/com/ibatis/sql-map-config.xml
定义:spring-resources.xml
/WEB-INF/classes/jdbc.properties
定义Spring-service-bean.xml
PROPAGATION_REQUIRED,-Exception PROPAGATION_REQUIRED,-Exception PROPAGATION_REQUIRED,-Exception PROPAGATION_REQUIRED,-Exception PROPAGATION_REQUIRED, timeout_30 PROPAGATION_REQUIRED,readOnly
定义jdbc.properties
#jdbc\u6570\u636e\u5e93\u8fde\u63a5\u914d\u7f6e\u4fe1\u606f jdbc.driver=net.sourceforge.jtds.jdbc.Driver jdbc.url=jdbc\:jtds\:sqlserver\://127.0.0.1\:1433;DatabaseName\=wlynew jdbc.user=sa jdbc.password=wlyoa_)*\#\! jdbc.maxActive=100 jdbc.maxIdle=30 jdbc.maxWait=1000 jdbc.defaultAutoCommit=false jdbc.removeAbandoned=true jdbc.removeAbandonedTimeout=60