<c:choose>
<c:when test="${eterList.PROTECT_CD == '1'}">수급권자 </c:when>
<c:when test="${eterList.PROTECT_CD == '4'}">국가유공자</c:when>
<c:when test="${eterList.PROTECT_CD == '5'}">모부자가정</c:when>
<c:when test="${eterList.PROTECT_CD == '6'}">위안부피해자</c:when>
<c:when test="${eterList.PROTECT_CD == '7'}">65세이상직계존속부양</c:when>
<c:when test="${eterList.PROTECT_CD == '8'}">장애인</c:when>
<c:when test="${eterList.PROTECT_CD == '9'}">북한이탈주민</c:when>
<c:when test="${eterList.PROTECT_CD == 'A'}">아동복지시설장추천</c:when>
<c:otherwise>오류</c:otherwise>
</c:choose>
이 블로그 검색
2010년 11월 1일 월요일
2010년 10월 28일 목요일
according to TLD or attribute directive in tag file, attribute value does not accept any expressions
"<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>" 으로 작성을 했더니 아래의 에러가 발생
→ According to TLD or attribute directive in tag file, attribute value does not accept any expressions
"<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %>"으로 수정하니 정상적으로 실행됨
Servlet 2.3<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
Servlet 2.4<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %>
→ According to TLD or attribute directive in tag file, attribute value does not accept any expressions
"<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %>"으로 수정하니 정상적으로 실행됨
Servlet 2.3<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
Servlet 2.4<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %>
2010년 10월 21일 목요일
jstl
- forEach, if
<select name="ASTimeHH">
<c:forEach var="ii" begin="0" end="24" step="1">
<option value="${ii}" <c:if test="${fn:substring(mainData.ACCEPT_START_YMD, 8, 10) == ii}">selected</c:if>>${ii}
</option>
</c:forEach>
</select>
피드 구독하기:
글 (Atom)