Struts OR Tiles OR ???… JSP template solution

时光怂恿深爱的人放手 提交于 2019-12-04 20:12:27
Steven Benitez

Quaternion is right that Tiles and SiteMesh are both pretty popular decoration frameworks. You can also use JSP .tag files to achieve this, as shown in this answer.

I've never used SiteMesh, but I've worked on several projects at work that use Tiles and I don't care for it -- to me it's just an extra layer that doesn't add enough bang-for-my-buck. Tag files have the added bonus of being a built-in part of JSP.

Apache Tiles and Sitemesh are the two most popular systems. Tiles is more in keeping with what you demonstrated.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!