在web.xml中配置spring配置文件的路径
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>
classpath:/spring/dataAccessContext_weblogic.xml,
classpath:/applicationContext.xml
</param-value>
</context-param>