如何使用设置为的 foodInfo 创建 li 标签的动态 id c:set
?
<c:forEach var="food" varStatus="i" items="${selectedIngredientsList}">
<c:set var="foodInfo" value="${food.foodItemId}~${food.foodCategoryId}~${food.foodName}~${food.foodPortionName}"/>
<ul>
<li id="??"><c:out value="${food.foodName}"/>
</li>
</ul>
</c:forEach>