Reputation: 5294
I have a c:set tag that throws an unterminated tag error (related question Unterminated <c:set tag - JSTL). The related question's answer states that this is a parser error but I am not sure how I can fix it in this case.
<c:forEach var="item" items="${cssinclist}">
<c:set var="stylesheetFile" value="<tiles:insertAttribute value="${item}" flush="true" />" />
<link rel="stylesheet" type="text/css" href="<c:url value="/resources/css/${ stylesheetFile }"/>" />
</c:forEach>
<c:remove var="stylesheetFile" />
Any help would be greatly appreciated.
Upvotes: 0
Views: 71
Reputation: 56
Why not just use "item" variable? Try this:
<c:set var="stylesheetFile" value="${item}"/>
Upvotes: 1