태그라이브러리로 for each 문을 돌면서 목록을 구성할 때
체크박스를 쿠키값에 저장되어있는 권한값에 따라 disabled 처리를 해줘야해서
JSTL로 쿠키 값 받는 방법을 사용했다.
사용법 : ${cookie.쿠키이름.value} 로 접근
▼ 사용예시
|
<c:choose>
<c:when test="${!empty cookie.user.value">
<input type="checkbox" disabled="true" />
</c:when>
<c:otherwise>
<input type="checkbox" />
</c:otherwise>
</c:choose>
|
windows xp 실행 명령어 조합 (0) | 2015.05.08 |
---|---|
따라다니는 톱버튼(파이어폭스, 인터넷익스플로워 지원) (0) | 2015.05.08 |
PHP에서 cURL 모듈 사용하기 (0) | 2015.03.26 |
리눅스 tar/gz 압축 풀기/하기 (0) | 2015.03.26 |
[오라클 ADD_MONTHS] (0) | 2015.03.24 |