2009/7/16 Roshni Basu <[email protected]>: > <tiles2:insertDefinition name="main.top"> > <tiles2:importAttribute name="enableID" /> > <c:out value="${enableID}"></c:out> > </tiles2:insertDefinition>
Wait a minute, now I understand. You are trying to insert the definition "main.top". The code above is invalid, since: 1. in <tiles:insertDefinition> you can override attribute values by using <tiles:putAttribute> 2. <tiles:importAttribute> imports attribute that are available in that JSP, not the inserted ones. But since "enableID" is already put by <put-attribute>, why do you want to read it here? Antonio
