<%@ 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:choose>
<c:when test="${param.num==0}">
처음뵙겠습니다<br/>
</c:when>
<c:when test="${param.num==1}">
반갑습니다<br/>
</c:when>
<c:otherwise>
안녕하세요<br/>
</c:otherwise>
</c:choose>
</body>
</html>
'JSP' 카테고리의 다른 글
JSTL <c:forTokens> 커스텀액션 (0) | 2013.03.21 |
---|---|
JSTL <c:forEach> 커스텀액션 (0) | 2013.03.21 |
JSTL <c:remove> 커스텀액션 (0) | 2013.03.21 |
JSTL <c:out> 커스텀액션 (0) | 2013.03.21 |
JSTL <c:set> 커스텀액션 (0) | 2013.03.21 |