8.0GA + Tomcat 6 + jdk1.6不行
6.0GA + Tomcat 6 + jdk1.6 就OK,郁闷.
<%
String names[]={"a", "b", "c"};
request.setAttribute("names", names);
%>
<c:forEach var="name" items="${names}">
<c:out value="${name}" /><br>
</c:forEach>
8.0GA + Tomcat 6 + jdk1.6不行
6.0GA + Tomcat 6 + jdk1.6 就OK,郁闷.
<%
String names[]={"a", "b", "c"};
request.setAttribute("names", names);
%>
<c:forEach var="name" items="${names}">
<c:out value="${name}" /><br>
</c:forEach>