求助:forEach
第一次写文章,望各位大神见谅,不知错误在哪里…
<%@ page language=“java” contentType=“text/html; charset=UTF-8”
pageEncoding=“UTF-8”%>
<%@ taglib uri=“http://java.sun.com/jsp/jstl/core” prefix=“c” %>
<html>
<head>
<title>c:forEach 标签实例</title>
<head>
<body>
</c:forEach var="i" begin="1" end="5">
Item ${i}<br/>
<c:forEach>
<body>
</html>
为何输入网址之后显示这样,而不是1,2,3,4,5
Item ${i}
Item ${i}
Item ${i}
Item ${i}
Item ${i}