网站首页 新闻首页 网页设计图形动画软件编程网站开发办公软件操作系统数据库网络技术认证考试范文资料黑客攻防 书籍教程 进入论坛

使用request传递数据

http://www.diybl.com/ 2007-2-6  网络 点击:  [ 评论 ]
文章搜索:    【点击打包该文章】


在Controller(JPF)中: protected Forward begin()    {         String  actions="3";         HttpServletRequest req=this.getRequest();         req.setAttribute("actions",actions);         return new Forward("success");    }

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>

文章整理:DIY部落 http://www.diybl.com (本站)   【点击打包该文章】
如果图片或页面不能正常显示请点击这里 站内搜索:   

文章评论

请您留言

 

最新新闻