在action的方法的最后,一般情况下都使用return mapping.findForward("xxxxx");

如果想跳转到另外一个action的某个页面,可以这样:

ActionForward actionForward = new ActionForward();
actionForward.setPath("/customer/creditApprManage.do?method=searchCreditLevel&levelName=");
return actionForward;

 

注:如果需要重定向,只需要给actionForward加一个redirect属性,使用actionForward.setRedirect(true);

相关文章:

  • 2021-12-19
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-29
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-12-18
  • 2021-07-10
  • 2021-12-12
  • 2021-09-18
相关资源
相似解决方案