It's my first time here, so please be forgiving.
I'm starting my first Spring MVC project and I've got a problem with layouts (Tiles).
I configured Tiles properly, but now I've got a problem with putting dynamic content into it.
I want to have for example header with a list of categories (it's only an example). Categories are fetched from database, so it's dynamic content.
I don't want to put in every action of controller an information about this categories, but to create something like View Helper.
I read this forum and I found some posts about Interceptors and Filters but I haven't found any solution, how to configure it so that it works.
Could you please tell me where I can find such tutorial? May a simple example application with Interceptors or Filters implemented.
Maybe there is another solution to this problem ?
Thanks in advance!