And*_*eiM 5 spring spring-webflow
在我的Spring web flow应用程序中,我的一个action-state转换看起来像这样:
<transition on-exception="com.foo.BarException" to="barView">
<set name="flowScope.error" value="foo.bar" type="string" />
</transition>
Run Code Online (Sandbox Code Playgroud)
我想设置flowScope.error为文字字符串"foo.bar",但Spring将其解释为foo对象的bar属性的引用.我如何强制Spring从字面上理解字符串呢?
| 归档时间: |
|
| 查看次数: |
5813 次 |
| 最近记录: |