I am using tag file to make a layout for all my page.
In this layout there are same information that needed to be imported from the database. I want to create a class handler for /WEB-INF/tags/file.tag that is responsible for all the logic and associate the result to an attribute like between controller and jsp.
How can I create this class and associated to the tag file.
I need a method in this class to be executed and pass the necessaries attributes to my tag file.
Is it possible to include a SimpleTagSupport class in my tag-file so that it can handle the process of the variable(get them from the database) and then use this variable in my tag-file.
Is there any other solution that does not involve using a view engine
what I want is to create a template for all my pages and inject fragment in this template. The template should load some data from the database (notification data in the menu that is in the template file).