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