El过程

使用EL:
isELIgnored="false"

<%
for (int i = 1; i < 10; i++) {
	pageContext.setAttribute("i",new Integer(i));
%>
  <tr>
  <td class="bggray">${i}</td>
<%
	for (int j = 1; j < 10; j++) {
	pageContext.setAttribute("j",new Integer(j));
%>
    <td>${i*j}</td>
<%
	}	
}
%>

${sessionScope.Students[0].name }
${sessionScope.Students[0].age }
${sessionScope.Students[0].scoreArray[0] }
${sessionScope.Students[0].scoreArray[1] }
${sessionScope.Students[0].scoreArray[2] }
 

你可能感兴趣的:(J#)