【发布时间】:2012-01-09 16:18:36
【问题描述】:
我想知道,spring web flow是否支持springframework 3 release。 根据官方文档http://static.springsource.org/spring-webflow/docs/2.3.x/reference/html/ch10s02.html,使用了spring 2.5(配置文件),但正如*:spring-3-spring-web-flow-2-dependencies-problem 所提到的,它应该与springframework 3 一起使用,所以这是否意味着文档不是最新的,同样适用于spring web flow 示例,其中也使用了 spring 2.5。 所以,如果它支持,正确的配置头应该是?:
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:flow="http://www.springframework.org/schema/webflow-config"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/webflow-config
http://www.springframework.org/schema/webflow-config/spring-webflow-config- 2.3.xsd">
</beans>
是这样吗?
当然,提出了一个问题:将 Spring Flow 用于 Spring Web MVC 项目是否有意义?因为,正如Spring Web Flow 3 Development Abandoned? 中提到的,spring web flow 没有积极的开发,在这种情况下,基于 spring/spring mvc 的项目的可用 web flow 支持替代方案是什么?
【问题讨论】:
标签: java spring spring-mvc spring-webflow spring-webflow-2