首页 > 其他 > 详细

8 - Struts 获取表单信息 (待补充)

时间:2017-04-14 12:03:12      阅读:103      评论:0      收藏:0      [点我收藏+]

第一种,利用HttpServletRequest

HttpServletRequest request = ServletActionContext.getRequest();
String username = request.getParameter("username");
String password = request.getParameter("password");

 

8 - Struts 获取表单信息 (待补充)

原文:http://www.cnblogs.com/FightZ/p/6707929.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!