spring 网络流的 <set> 元素中的 "value" 属性包含什么?

What does the "value" attribute in <set> element of spring web flow contain?

我是 Spring Web Flow 的初学者。我在流 xml 文件中遇到了这个标签。一个这样的例子是

<on-start>
    <set name="flowScope.products" value="cartService.products"/>
    <set name="flowScope.shippingOptions"value="cartService.shippingOptions"/>
    <set name="requestScope.productId" value="requestParameters.productId"/>
</on-start>

值 - cartService.shippingOptions 是什么意思?它是否引用任何 java 字段?或者它只是一个字符串? value = "requestParameters.productId" 是什么 参考?总的来说,<set> 标签的可能值是多少? 我参考了文件,但不清楚。任何人都可以帮助 <set> 标记的值属性是否包含字符串或者它是否引用 java 字段?

完整代码请查找link https://github.com/DanielMichalski/spring-web-flow/blob/master/src/main/webapp/WEB-INF/flows/checkout.xml

谁能回答这个问题?

requestParameters是一个特殊的EL变量,引用http请求中的参数。见 special variables

value 更一般地是一个可以计算的 EL 表达式。您可以使用任何 spring 个 bean、输入、变量、范围、事件等

有关 EL

的更多详细信息,请参阅 this link