Method call method in Controller

Requirement: After completing some operations, such as adding, deleting, and modifying, you need to do other operations and return to the page data information. At this time, you need to jump to other controller methods.


@RequestMapping(value="update")
    public ModelAndView update(T_user t_user) throws Exception{
	 t_userServiceImpl.updateT_user(t_user);
	 return new ModelAndView("redirect:/znkjow/../t_user/queryByPage"); //Query after modification
    }


Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326437103&siteId=291194637