dynamic « Property « JSP-Servlet Q&A





1. JSP EL: dynamic creation of property name    stackoverflow.com

I am trying to dynamically generate content using JSP. I have a <c:forEach> loop within which I dynamically create bean accessors. The skeleton resembles this:

<c:forEach var="type" items="${bean.positionTypes}">
    ${bean.table}  ...