Il giorno gio 14 apr 2022 alle ore 07:36 Lukasz Lenart < lukaszlen...@apache.org> ha scritto:
> There is also Tiles Autotag project, yet I never used it (there was a > plan to use it instead Struts Annotations) > https://tiles.apache.org/tiles-autotag/index.html > > Hello just to clarify what Tiles Autotag is (or was). Tiles Autotag generates "tags" (JSP, Freemarker, Velocity) out from a common core code. To do this, it needs to abstract the different technologies into one model, so you develop one "pseudo-tag" and automatically it generates JSP tags and related TLD, Freemarker and Velocity "things" (sorry I don't remember how they are called, but you can get the idea). The problem is that it needs to use Tiles Request subproject, an abstraction of the several requests (HttpServletRequest+HttpServletResponse for servlets, PortletRequest for portlets, PageRequest for JSP etc.) to integrate with the technologies under a common core. So if you use Tiles Autotag you need to adopt Tiles Request too. This made sense some years ago, now, where all the templates almost reside on the client, I don't think this is the case. But I had fun developing for it :-) Best regards Antonio Petrelli