I'm wondering if the following is possible:
<c:forEach var="y" begin="0" end="${amountY }">
<c:forEach var="x" begin="0" end="${amountX }">
${${x }-${y } }
</c:forEach>
<br />
</c:forEach>
I have already set a certain amount of attributes with names being as follows:
"an x value" + "-" +"a y value"
The point of the foreach is to call on these attributes but I don't know beforehand how many there will be.
Now I'm wondering if there's a way to do this with maybe a different syntax cus it's not working this way.
Otherwise is it maybe possible to fill a list with strings and have each string be a certain piece of html code. Then foreaching that list so the strings get implemented as html? Probably not but w/e.