ITeye博客

struts action获取页面参数

chokee · 2014-05-22 15:07 · struts · 编程语言 · Markdown

struts action获取页面参数 Map map = new HashedMap(); ActionContext context = ActionContext.getContext(); map = context.getParameters(); HttpServletRequest request = ServletActionContext.getRequest(); map.put("gdjid", request.getParameter("gdjid"));

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。