[求助]在使用forEach时出了问题
刚开始学习jsp,运行有个错误,可不知错在什么地方,请高手指点下,先谢谢了<%@page contentType="text/html; charset=GBK"%>
<%@taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<%!
String[] name = {
"sun", "microsoft", "ibm"};
String[] values = {
"100", "150", "120"};
%>
<html>
<head>
<title>P210d1</title>
</head>
<body bgcolor="#ffffff">
<table border="1" align="center" width="400">
<tr>
<th>产品名称</th>
<th>产品成本</th>
</tr>
<tr>
<c:forEach var="aa" items="<%=name%>">
<c:forEach var="bb" items="<%=values%>">
<td><c:out value="${aa}"></td>
<td><c:out value="${bb}"></td>
</c:forEach>
</c:forEach>
</tr>
</table>
</body>
</html>
错误提示是:
- "jsp1.jsp": org.apache.jasper.JasperException: The absolute uri: http://java.sun.com/jstl/core_rt cannot be resolved in either web.xml or the jar files deployed with this application