If you want to use dynamic property names, use the brace notation.
<c:forEach items="${items}" var="item">
${item[propertyName]}
</c:forEach>
More Related Contents:
- javax.el.PropertyNotFoundException: Property ‘foo’ not found on type com.example.Bean
- How to reference constants in EL?
- Difference between JSP EL, JSF EL and Unified EL [closed]
- Evaluate empty or null JSTL c tags
- EL expressions not evaluated in JSP
- How to compare two object variables in EL expression language?
- How to access objects in EL expression language ${}
- How to concatenate a String in EL?
- How to call parameterized method from JSP using JSTL/EL
- How to nest an EL expression in another EL expression
- How to evaluate a scriptlet variable in EL?
- c:forEach throws javax.el.PropertyNotFoundException: Property ‘foo’ not found on type java.lang.String
- Adding external resources (CSS/JavaScript/images etc) in JSP
- How to access at request attributes in JSP?
- How does Java expression language resolve boolean attributes? (in JSF 1.2)
- How to escape EL dollar signs?
- Populating cascading dropdown lists in JSP/Servlet
- How to differ sessions in browser-tabs?
- Collect and save submitted values of multiple dynamic HTML inputs back in servlet
- Difference between JSP forward and redirect [duplicate]
- Expression Language in JSP not working [duplicate]
- Filling HTML dropdown list in JSP with values fetched from database in Servlet
- How to call servlet through a JSP page
- File upload with ServletFileUpload’s parseRequest? [duplicate]
- Use EL ${XY} directly in scriptlet
- Get request URL in JSP which is forwarded by Servlet
- Make ${} operator XSS safe in Struts 2 (same as tapestry)
- Unicode characters in servlet application are shown as question marks
- JSP: EL expression is not evaluated [duplicate]
- How to print current date in JSP?