<!-- 配置 -->
<forward name="a" path="a.do" />
<forward name="a" path="a.do" />
<!-- Action中的代码 -->
ActionForward forward=mapping.findForward("a");
ActionForward newForward= new ActionForward(forward);
String newPath=forward.getPath()+"&id=1"
newForward.setPath(newPath);
return newForward;
ActionForward newForward= new ActionForward(forward);
String newPath=forward.getPath()+"&id=1"
newForward.setPath(newPath);
return newForward;
<!-- Action中的代码(第二种) -->
return
new
ActionForward (
"
a.do?id=1
"
);