phoenix13

导航

 

1. Redirect URL

@RequestMapping("test")
    public RedirectView handleTestRequest (Model model) {
        model.addAttribute("myModelAttribute", "attributeVal");
        RedirectView rv = new RedirectView("/abc");
        return rv;
    }

http://www.logicbig.com/tutorials/spring-framework/spring-web-mvc/redirect-view/

posted on 2017-01-19 12:54  phoenix13  阅读(98)  评论(0编辑  收藏  举报