使用modelandview在接口中访问另一个接口

@Override
    public ModelAndView selectRedirectAttributes(RedirectAttributes ra)
        throws TemplateException {
        PersonChangeVO vo = new PersonChangeVO();
        vo.setId(Long.valueOf(1));
        ra.addFlashAttribute("vo", vo);
        ModelAndView mv = new ModelAndView();
        mv.setViewName("redirect:/transaction/selectSign");
        return mv;
    }

 

你可能感兴趣的:(spring相关)