I have two mapera
@RequestMapping(value = "/", method = RequestMethod.GET) public String main(){ return "index"; } and second
@RequestMapping(value = "/search", method = RequestMethod.GET) public String search(Model model , @RequestParam(value = "text",required = true)String text) { List<Book> books = bookMapper.findByCondition(text); return "redirect:/"; } how to transfer List<Book> books to the first controller