Hello,
use a temporary variable as an “index”:
%@ taglib uri=http://java.sun.com/jsp/jstl/core; prefix=c %
html
head
titleEL Test/title
/head
body
c:forEach var=i begin=1 end=10
c:set var=paramName value=vorname${i}/
${param[paramName]}br/
Hi, it is also convenient to use the iteration of ELs such as
c:if test=${!empty param.t${i}vorname}.
Of course, it doesn't work. But, I'd like to do the following iteration.
c:forEach var=i begin=1 end=8
sql:update var=insert${i}
insert into member values (1,?::integer,${i},?,?,?)
sql:param
Hello Kazuaki,
Very sorry for the response. I'm teaching this material right now and
assumed this was a student request (I have 70 of them) and only now
noticed that this was on the taglibs mailing list. Again, so sorry.
The advice in the prior is still sound, but now very out fo context.
The