I'm trying to populate the items of a foreach-element in a JSP page.

<c:forEach var="request" items="${manageSchedulesBean.userController.getRequestsBySchedule[schedule.scheduleId]}">

Gives me:
org.apache.jasper.el.JspPropertyNotFoundException: /secure/manageSchedules.jsp(40,36) '${manageSchedulesBean.userController.getRequestsBySchedule[schedule.scheduleId]}' Property 'getRequestsBySchedule' not found on type $Proxy8

the called function exists, and when i cann manageSchedulesBean or userController, there is no error.

Someone got a clue?

Recommended Answers

All 2 Replies

use the name of the property, not the name of the getter.
So use RequestBySchedule, not getRequestBySchedule

I tried, but it gives me the same error:
org.apache.jasper.JasperException: org.apache.jasper.el.JspPropertyNotFoundException: /secure/manageSchedules.jsp(42,36) '${manageSchedulesBean.userController.RequestsBySchedule[schedule.scheduleId]}' Property 'RequestsBySchedule' not found on type $Proxy8

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.