我想知道spring web flow是否支持springframework 3版本。 根据官方文档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。 因此,如果支持,正确的配置 header 应该是?:
<?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 支持替代方案是什么?
最佳答案
绝对没有被放弃。我已经成功地将 SWF 2.3 与 Spring 3.1 一起使用 - 这里没有问题。
作为替代方案,您可以尝试使用 JSF 及其页面导航支持。
关于java - SpringFramework 3.0 的 Spring Web Flow 配置还是替代方案?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8325786/