1
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
cs


jstl 추가


1
2
3
4
5
6
7
8
<c:choose>
    <c:when test="${fn:length(map.movKorName) > 8}">
        <c:out value="${fn:substring(map.movKorName,0,7)}"/>....
    </c:when>
    <c:otherwise>
        <c:out value="${map.movKorName}"/>
    </c:otherwise> 
</c:choose>
cs



'JSP&Servlet' 카테고리의 다른 글

getGeneratedKeys insert후 생성된 행의 키 받아오기  (0) 2017.02.26
커넥션 풀  (0) 2017.02.26
이벤트 리스너(event listener)  (0) 2017.02.26
ServletContext / ServletConfig init-param 차이점  (0) 2017.02.26
필터  (0) 2017.02.26

+ Recent posts