ModelAndView的setViewName默认方式

    xiaoxiao2022-07-03  118

    //默认跳转方式为:forward模式 ModelAndView mv = new ModelAndView("/user/save/result"); //可指定跳转方式为:redirect模式/forward模式 ModelAndView mv = new ModelAndView("redirect:/user/save/result");

    原文:https://blog.csdn.net/jim_007/article/details/79500345

    最新回复(0)