在action的方法的最后,一般情况下都使用return mapping.findForward("xxxxx");
ActionForward actionForward = new ActionForward();
actionForward.setPath("/customer/creditApprManage.do?method=searchCreditLevel&levelName=");
return actionForward;
注:如果需要重定向,只需要给actionForward加一个redirect属性,使用actionForward.setRedirect(true);
版权声明:本文为博主原创文章,未经博主允许不得转载。
本文介绍了在Struts框架中如何实现从一个Action跳转到另一个Action的指定页面,包括直接跳转和重定向的方式,并提供了具体的代码示例。
2537

被折叠的 条评论
为什么被折叠?



