How to store variables in all pages requestScopes within Spring
问题 I usually add objects in my jsp requestScopes using Controllers. For example, if I need to list categories in "localhost/products/viewall", I simply change my ProductsController adding something like @RequestMapping("/products/viewall") public void viewCategories(Model model) { List<Category> categories = service.findAllCategories(); model.addAttribute("categories", categories); } so, this method adds a list of categories to my requestScope. I need to do the same, but for all the pages of the