Tiles vs. JSP includes

Posted by Angus Croll on Stack Overflow See other posts from Stack Overflow or by Angus Croll
Published on 2010-03-31T23:28:32Z Indexed on 2010/03/31 23:33 UTC
Read the original article Hit count: 462

Filed under:
|
|
|

We have a large web-app with hundreds of jsps pages. To avoid repeating markup up blocks we are considering making use of struts tiles. Now it seems messy to have a combination of both

<t:insertTemplate template="/WEB-INF/templates/xxxxx.jsp">

and

<%@ include file="xxxxx.jsp"%>

statements so we are considering converting all includes statements to insertTemplates (whether or not the template includes any tile syntax)

Has anyone had any experience with using tiles 100% for jsp includes?

© Stack Overflow or respective owner

Related posts about tiles

Related posts about jsp