There,
I got an error when I used sql tag lib.
Error Message:
Multiple annotations found at this line, the method getStartdate() is undefined for the type map.
Before, I used JSTL 1.0, it worked fine, after I upgraded it to 1.1, I got the problem.
Any help and idea are appreciated.
Wolf
<%@ page session="true" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="sql" uri="http://java.sun.com/jsp/jstl/sql" %>
<sql:query var="monthlyList" dataSource="jdbc/Booking" scope="request">
select date as d, count(d_code) as c, (sum(seconds)) as t
from inservicehistory where date>='<c:out value="${param.startdate}" />' and date <='<c:out value="${param.enddate}" />'
group by d
</sql:query>
<jsp:forward page="list_daily.jsp" />