springmvc之RedirectAttributes重定向带参数设置

今天项目须要带参数重定向,用到RedirectAttributeshtml 配置以下:spring springmvc配置文件须要添加 <mvc:annotation-driven />mvc 登陆controller设置app @RequestMapping(method=RequestMethod.POST) public String login(String username, Strin
相关文章
相关标签/搜索