Dear forum members,

I hope to get advise as to what jstl sql:query var refers to. Netbeans' error message is on this particular line: <sql:query var="members" maxRows="5">.

Also, is there anything else wrong with the codes ?

Thank you very much.

<%@ taglib prefix="c" uri="" prefix="c"%>
<%@ taglib prefix="fmt" uri="" %>
<%@ taglib prefix="sql" uri="" prefix="sql"%>
<%@ taglib prefix="x" uri="" %>
<%@page language="java" import ="java.sql.*" %>
<sql:setDataSource driver="com.mysql.jdbc.Driver" url="jdbc:mysql://
   localhost:3306/data1" user="root" password="abc"/>
<sql:query var="members" maxRows="5">
Select *, GROUP_CONCAT(subject.subjectName SEPARATOR \", \") AS Subj from members LEFT JOIN subinter ON subinter.membersID =  LEFT JOIN subject ON subinter.subjectID = GROUP BY");
<h5>Members Record</h5>
<table border ="1" cellspacing="0" cellspacing="0" align="center" class="bordered">
    <tr><td><b>Member No</b></td>
   <c:forEach var="row" items="${members.rows}">
<td><c:out value="${row.ID}" /></td>
<td><c:out value="${row.MemberName}" /></td>
<td><c:out value="${row.NRICNO}" /></td>
<td><c:out value="${row.Email}" /></td>