spring+struts+hibernate 在 web.xml中进行配置一下就可以了; 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 检查一下你的web.xml,需要声明一个listener 在web.xml的web-app标记内增加: <context-param> <param-name>contextConfigLocation</param-name> <param-value>/WEB-INF/applicationContext-hibernate.xml</param-value> </context-param> <servlet> <servlet-name>SpringContextServlet</servlet-name> <servlet-class>org.springframework.web.context.ContextLoaderServlet</servlet-class> <load-on-startup>1</load-on-startup> </servlet> 多线程疑惑 谁推荐下ssh的入门书籍 struts2怎么实现表单数据保存 这是什么错误!在线等!急!! js如何获取action发到jsp中的对象 如何用在axis下调用.net发布的web services中的复杂对象数组? JDBC 连oracle 时出现错误,,求助??? 请问,怎么样在用XML在前端保存数据??? 高手请进!帮我解决一下问题!还是不行! 那位大侠知道COM BIRDGE的 详细技术解决和上那里去下载COM BRIDGE? 几本struts的中文书,那本讲得比较深入一点. 用jbuilder做struts的请进!
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>/WEB-INF/applicationContext-hibernate.xml</param-value>
</context-param>
<servlet>
<servlet-name>SpringContextServlet</servlet-name>
<servlet-class>org.springframework.web.context.ContextLoaderServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>