Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Multiple annotations found at this line, the method ......

843838Aug 31 2005 — edited Sep 2 2005
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" />
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 30 2005
Added on Aug 31 2005
4 comments
1,379 views