<%@ page contentType="text/html; charset=EUC-JP"%>
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c"%> ← (1)
<html>
<head>
<title>Standard Taglibs Test</title>
</head>
<body>
<c:set var="x" value="10"/> ← (2)-1
<c:set var="y" value="20"/> ← (2)-2
加算結果:<c:out value="${x + y}"/> ← (3)
</body>
</html>
|