Robert,
On 5/30/2011 4:00 PM, Robert Lee wrote:
> I have tried
> #foreach($i in [1..$n])
> Where $n is set into the context as
>
> context.put("$n", rs.getString("n"));
>
> oops. I should have caught it myself.
>
> context.put("$n", rs.getInt("n")); did the trickYou might want to remove the leading "$" in the name of the variable, too. The $ identifies it as a variable, it's not actually part of the identifier. -chris
signature.asc
Description: OpenPGP digital signature
