`
aiyan2001
  • 浏览: 72051 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论

websphere的一个说明

阅读更多

这里天弄websphere6.1下进行ssh2的开发,后来居然没有加载spring2,hibernate3的xml信息,

导致spring和hibernate的信息无法处理,后来改了web.xml就可以了,特此记录:

<context-param>
 <param-name>contextConfigLocation</param-name>
 <!-- <param-value>classpath:applicationContext*.xml</param-value>--> <!--改前-->
 <param-value>/WEB-INF/classes/applicationContext*.xml</param-value> <!--改后 -->
</context-param>
   <listener> 
         <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class> 
    </listener> 

改后的设置就可以完全走同SSH2了

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics