java后台跳转带参数

来源:互联网 发布:软件采购招标评分标准 编辑:程序博客网 时间:2024/06/10 18:35
ActionForward objActionForward = actionMapping.findForward("ProjectList");
后面是加的参数
StringBuffer strBuffer = new StringBuffer(objActionForward.getPath());
strBuffer.append("?projectName=");
strBuffer.append(form.getExProjectName());
return new ActionForward(strBuffer.toString(), true);
0 0
原创粉丝点击