1

我想知道,spring web flow是否支持springframework 3 release。根据官方文档http://static.springsource.org/spring-webflow/docs/2.3.x/reference/html/ch10s02.html,使用了spring 2.5(配置文件),但正如stackoverflow: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 web mvc 项目中使用 spring flow 有意义吗?因为,正如Spring Web Flow 3 Development Abandoned 中提到的那样?spring web flow 没有积极的开发,在这种情况下,基于 spring/spring mvc 的项目的可用 web flow 支持替代方案是什么?

4

1 回答 1

0

它肯定不会被抛弃。我已经成功地将 SWF 2.3 与 Spring 3.1 一起使用——这里没有问题。

作为替代方案,您可以尝试使用具有页面导航支持的 JSF。

于 2011-11-30T12:33:15.723 回答