这个问题分为两部分
- 是否可以为 Spring Web Flow 提供路径变量?
- 是否可以在 URL 中隐藏执行键
当前网址如下:http://localhost/bugs/ticket/?execution=e2s1
在这里,关联的 Web Flow 位置模式是
<flow:flow-location-pattern value="/**/flow.xml" />
文件夹结构所在的位置:bugs/ticket/flow.xml
是否可以在 URL 本身中提供票证 ID 并指向适当的流程 - 即 URL 应该是http://localhost/bugs/ticket/102?execution=e2s1
,但流程仍然来自bugs/ticket/flow.xml
我尝试了以下模式 -value="/**/*/flow.xml"
等flow-path id="bugs/ticket/*"
,但无济于事。
另外,是否可以在 URL 中隐藏执行键?是否可以通过可以在 Spring Web Flow 中提取的 HTTP 标头发送它?