Hi,
My tiles work but this is heavy to write all the path, very repetitive, so I want to do that :
I want to do that :Code:<tiles-definitions> <definition name="index" template="/WEB-INF/jsp/index.jsp"> <put-attribute name="title" value="/WEB-INF/jsp/header.jsp" /> </definition> [...] </tiles-definitions>
Solution ?Code:path="/WEB-INF/jsp/" <definition name="index" template=$path"index.jsp"> <put-attribute name="title" value=$path"header.jsp" /> </definition>


Reply With Quote
