日期:2014-05-18  浏览次数:20661 次

初学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>