반응형
<c:forEach var="item" items="${list}">
	<input type="checkbox" name="code" value="${item.code}"
		<c:forEach var="myInfo" items="${myInfo}">
			<c:if test="${item.code eq myInfo.code}">
				checked
			</c:if>
		</c:forEach>
	> ${item.codename}
</c:forEach>

 

반응형

+ Recent posts