A
Anonymous
Hi this file gives me
org.apache.jasper.JasperException: /Continue.jsp(18,0) According to
TLD or attribute directive in tag file, attribute items does not
accept any expressions
It complains about line 18
18: <c:forEach var="row" items="${result.rowsByIndex}">
19: <c
ut value="${row[0]}"/> <br />
20: </c:forEach>
Any idea how to solve this?
I put all the jar files in WEB-INF/lib from the jakarta standard
taglibs /lib folder as the docs said to.
im using apache Tomcat 5 + J2SE 1.4
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:39)
<!-- Continue.jsp -->
<%@ taglib prefix="sql" uri="http://java.sun.com/jstl/sql" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
<html>
<head>
<title>Continue</title>
</head>
<body bgcolor="#fffff">
<sql:setDataSource driver="com.mysql.jdbc.Driver"
url="jdbc:mysql://localhost/college?user=root&password=robbo"/>
<sql:query var="result">
SELECT * FROM student
</sql:query>
<c:forEach var="row" items="${result.rowsByIndex}">
<c
ut value="${row[0]}"/> <br />
</c:forEach>
</body>
</html>
org.apache.jasper.JasperException: /Continue.jsp(18,0) According to
TLD or attribute directive in tag file, attribute items does not
accept any expressions
It complains about line 18
18: <c:forEach var="row" items="${result.rowsByIndex}">
19: <c
20: </c:forEach>
Any idea how to solve this?
I put all the jar files in WEB-INF/lib from the jakarta standard
taglibs /lib folder as the docs said to.
im using apache Tomcat 5 + J2SE 1.4
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:39)
<!-- Continue.jsp -->
<%@ taglib prefix="sql" uri="http://java.sun.com/jstl/sql" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
<html>
<head>
<title>Continue</title>
</head>
<body bgcolor="#fffff">
<sql:setDataSource driver="com.mysql.jdbc.Driver"
url="jdbc:mysql://localhost/college?user=root&password=robbo"/>
<sql:query var="result">
SELECT * FROM student
</sql:query>
<c:forEach var="row" items="${result.rowsByIndex}">
<c
</c:forEach>
</body>
</html>