문제

These are my thoughts. Apache tiles is like a manager over jsp files that rules what and where insert. I don't know how it's implemented, maybe something like <jsp:include>. Using such approach as this lib offers we have several advantages. It's clear. But does using this lib mean that we have to avoid using static include - <%@include%>?

도움이 되었습니까?

해결책

No. Static includes using <%@include%> are useful for when that's all you need and offer better performance.

But it does make sense to avoid using <jsp:include ../> when you have the tiles framework in place. In that situation always favour <tiles:insertAttribute ../>

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top