I am new in Tiles, and I like it.
My problem is, that I got a head , body and footer tile in the template definition in SpringFramework. I would like to display some user information in head tile, and display last login ip in footer with some dynamic data. As I mean I can do that, if I assagn(addAttribute) every variable in every controller which use this template.
Is there any way the head/footer tile ask data from there own spring Controller? Or how can I add information(variableValue) to head and footer tiles without repeating sourcecode in every controller.
Thanks
Spring Interceptor solve this (example: http://dzone.com/tutorials/java/spring/spring-interceptor.html)