본문 바로가기

JSP

JSTL <c:forEach> 커스텀액션

<%@ page language="java" contentType="text/html; charset=UTF-8"

    pageEncoding="UTF-8"%>

 

<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

 

<!DOCTYPE html>

<html>

<head>

<meta charset="UTF-8">

<title>Insert title here</title>

</head>

<body>

    <c:forEach var="cnt" begin="1" end="5">

         <FONT size=${cnt} > ~~</FONT><br />

    </c:forEach>

</body>

</html>





 

'JSP' 카테고리의 다른 글

JSTL <c:forEach> 커스텀액션  (0) 2013.03.21
JSTL <c:forTokens> 커스텀액션  (0) 2013.03.21
JSTL <c:choose> <c:when> 커스텀액션  (0) 2013.03.21
JSTL <c:remove> 커스텀액션  (0) 2013.03.21
JSTL <c:out> 커스텀액션  (0) 2013.03.21