This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
I'm quite new to the whole jstl things, so please don't be too harsh on me, when I'm maybe posting something self-evident OR something nonsensical.
My problem is as follows:
I've got a forEach loop which looks like this:
this works fine for me when using static values within the array-dimensions, for example like in the following line
what i would like to do now, is to have one of the dimension values set by a variable, something like
Unfortunately this does not work, therefore my question is, whether this possible at all or not. I didn't think that this would be such a big problem, but I have been searching for quite a long time in vain to solve this problem. Or maybe I still don't have understood the syntax of JSTL the right way, then please excuse me for bothering you.
thank you very much, your solution worked out for me. regarding the "List"-naming, I am aware of that, I removed parts of my original code, so that only the semantic sense of the code remained. That is also why one variable started with an uppercase character, just wanted to post quickly, unfortunately without checking the code, sorry for that and for any further inconvenience.