Servlet page decoration: Do people use Tiles, Sitemesh, or something else?

。_饼干妹妹 提交于 2019-11-30 22:40:20

I use sitemesh since it is less invasive than tiles. However I think that tiles is generally used in conjuction with structs 1.x?

We use Sitemesh, but I'm not a fan.

We use the apply-decorator feature almost exclusively, in order to wrap one of our standard page layouts around the unique content of each page. I believe this is better done with JSP tag files, because they are built-in to every container and are part of the JSP specification.

I haven't profiled it, but needlessly re-parsing all of the page content server-side in order to find the sitemesh tags and perform the re-writing has always bothered me too.

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