传递URL参数Spring Web Flow
-
06-07-2019 - |
题
我有使用Spring Web Flow框架的这个Web应用程序。在我的主页面中,我有一个员工列表的默认显示。当我单击某一特定行时,我需要重定向到另一个页面,显示该行的详细视图。我正在考虑传递“名字”。通过URL参数在我的行中的字段。
这是可能的,还是Spring网络流支持从URL获取参数?
<a href="edit.do?row_name=testName">name</a>
解决方案
您可以从特殊EL变量 requestParameters
获取请求参数。请参阅: http://static.springsource.org/spring-webflow/docs/2.0.x/reference/htmlsingle/spring-webflow-reference.html#el-variable-requestParameters
不隶属于 StackOverflow