一. 使用 RedirectAttributes 传值
Example:
主要用addFlashAttribute(“”,“”)方法进行参数的存入.
二. 参数的取出
主要使用 RequestContextUtils.getInputFlashMap(request).get("参数名称"); 来取出相应的对象放到model中进行使用即可。
一. 使用 RedirectAttributes 传值
Example:
主要用addFlashAttribute(“”,“”)方法进行参数的存入.
二. 参数的取出
主要使用 RequestContextUtils.getInputFlashMap(request).get("参数名称"); 来取出相应的对象放到model中进行使用即可。