2011-11-30 66 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