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