Hi,
how can I make an expression in an expression?
I've got something like this:
selectLehrer.jsp:Code:... <c:set var="CURGEGENSTANDLEHRER" value="LEHRERPRE" /> <%@ include file="/selectLehrer.jsp" %> ...
which gives me an exception that no 'vorname' property is found in object of type String. Actually, the forEach loop is only run through once, because the items are filled only with the String 'LEHRERPRE'. Actually, I want it to be filled with an Collection LEHRERPRE which is in request scope. Therefore, I'd need something likeCode:<c:forEach var="lehrer" items="${CURGEGENSTANDLEHRER}" varStatus="status"> <c:out value="${lehrer.vorname}" /><c:out value="${lehrer. </c:forEach>
items="${${CURGEGENSTAND}}" in order to make it being expressed as
items="${LEHRERPRE}"
I appreciate any suggestions and ideas.
Thanks in advance and kind regards,
Simon


Reply With Quote
.