SpringFramework 3.0 的 Spring Web Flow 配置还是替代方案?
我想知道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-dependency-problem< /a> 它应该与 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没有积极的开发,可用的Web Flow是什么在这种情况下,支持基于 spring/spring mvc 的项目的替代方案吗?
I would like to know, whether spring web flow supports springframework 3 release.
According to the official documentation http://static.springsource.org/spring-webflow/docs/2.3.x/reference/html/ch10s02.html, spring 2.5 is used (config file), but as was mentioned stackoverflow:spring-3-spring-web-flow-2-dependencies-problem it should work with the springframework 3, so does it mean documentation is not up-to-date, the same is for spring web flow samples, where spring 2.5 is also used.
So, if it supports, the right config header should be?:
<?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>
Is it so?
And of course, question is raised: does it make sense to use spring flow for spring web mvc project? Because, as was mentioned in Spring Web Flow 3 Development Abandoned? no active development for spring web flow, and what is the available web flow support alternative for spring/spring mvc based project, in this case?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
是绝对不会被抛弃的。我已经成功地将 SWF 2.3 与 Spring 3.1 一起使用 - 这里没有问题。
作为替代方案,您可以尝试使用 JSF 及其页面导航支持。
It is definately not abandoned. I have successfully used SWF 2.3 with Spring 3.1 - no problems here.
As an alternative you could try to use JSF with its page navigation support.