2011-11-30 59 views
1

我想知道,春季流量是否支持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也是如此样品,其中也使用弹簧2.5。 所以,如果支持,正确配置标题应该是?:SpringFramework 3.0的Spring Web Flow配置还是其他选择?

<?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?中所提到的,对于弹簧卷材流动没有积极的发展,以及在这种情况下可用的基于弹簧/弹簧mvc的项目的可用卷材支撑替代方案是什么?

回答

0

它肯定没有放弃。我已经在Spring 3.1中成功使用了SWF 2.3 - 这里没有问题。

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

+0

请问您能否提供您的网络流量配置?我只需要标题,你可以明显地跳过其余​​部分。 – akazlou