当前位置: 代码迷 >> J2EE >> 初学ssh,写了一个web(容易得不行的东西),一直错
  详细解决方案

初学ssh,写了一个web(容易得不行的东西),一直错

热度:25   发布时间:2016-04-19 22:46:01.0
初学ssh,写了一个web(简单得不行的东西),一直错。
具体错误

我在struts.xml中也加了<constant name="struts.objectFactory" value="spring" />这句了, 求指导。
------解决方案--------------------
记得配置spring监听。

Find below the <listener/> configuration:
<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>
Find below the <context-param/> configuration:
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>/WEB-INF/applicationContext*.xml</param-value>
</context-param>
  相关解决方案