for(int i=0 ; i < 10 ; i++){
System.out.println(i);
}
和上面同理
<c:forEach begin='0' end='10' var="i">
${i}
</c:forEach>
===============================
List<String> list = new ArrayList<String>();
for(String str : list){
System.out.println(str);
}
和上面同理
<c:forEach items="${list}" var="str">
${str}
</c:forEach>