使用request传递数据
发表于:2007-07-01来源:作者:点击数:
标签:
在Controller(JPF)中:protected Forward begin() { String actions=3; HttpServletRequest req=this.getRequest(); req.setAttribute(actions,actions); return new Forward(success); } JSP页面中: quot;{request.actions}tabletr td netui:radioButton
在Controller(JPF)中: protected Forward begin() { String actions="3"; HttpServletRequest req=this.getRequest(); req.setAttribute("actions",actions); return new Forward("su
clearcase/" target="_blank" >ccess"); }
JSP页面中:
<
.netui:radioButtonGroup dataSource="{request.actions}"><table> <tr> <
td> <netui:radioButtonOption value="1">Update Asset Realisation Status</netui:radioButtonOption> </td> <td> <netui:radioButtonOption value="2">Generate Final Reminder (for re-generation only)</netui:radioButtonOption> </td> <td> <netui:radioButtonOption value="3">For Case Officer@#s Action</netui:radioButtonOption> </td> </tr> </table> </netui:radioButtonGroup>
原文转自:http://www.ltesting.net