문서의 선택한 두 판 사이의 차이를 보여줍니다.
| 양쪽 이전 판 이전 판 다음 판 | 이전 판 | ||
|
java:jsp:jstl [2012/05/07 18:12] kwon37xi |
java:jsp:jstl [2012/12/13 17:45] (현재) kwon37xi [JSTL] |
||
|---|---|---|---|
| 줄 1: | 줄 1: | ||
| ====== JSTL ====== | ====== JSTL ====== | ||
| + | * [[http:// | ||
| + | * [[http:// | ||
| ===== forEach varStatus ===== | ===== forEach varStatus ===== | ||
| * [[http:// | * [[http:// | ||
| - | |Property|Getter|Description| | + | |
| + | ^ Property | ||
| |current|getCurrent()|The item (from the collection) for the current round of iteration| | |current|getCurrent()|The item (from the collection) for the current round of iteration| | ||
| |index|getIndex()|The zero-based index for the current round of iteration| | |index|getIndex()|The zero-based index for the current round of iteration| | ||
| 줄 13: | 줄 16: | ||
| |step|getStep()|The value of the step attribute| | |step|getStep()|The value of the step attribute| | ||
| + | ===== null 검사 ===== | ||
| + | <code jsp> | ||
| + | <%-- 아래는 객체가 안 비었는지 여부(null, | ||
| + | <c:if test=" | ||
| + | ... | ||
| + | |||
| + | <%-- 아래는 null만 검사한다 --%> | ||
| + | <c:if test=" | ||
| + | ... | ||
| + | 혹은 | ||
| + | <c:if test=" | ||
| + | ... | ||
| + | </ | ||