And of course in the first case I cannot generate the strings I need with "name" property of "element". Is it forbidden to place Java scriptlets inside the iterate tag? Because in the second case I get double call of main.do action and the second call doesn't have the attributes set. [ January 27, 2003: Message edited by: Maciej Kolodziej ]
posted 13 years ago
in your second example, "element" is not a scripting variable--it is a variable in the pageContext. Try doing a pageContext.getAttribute() in order to access "element" in your scriptlet...
"Write beautiful code; then profile that beautiful code and make little bits of it uglier but faster." --The JavaPerformanceTuning.com team, Newsletter 039.