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 reasoning is still good.
I really think something in your domain layer should be parsing your params and cleanly taking care of this all. You can still provide the cleaned up POJOS via attributes, and that makes more sense. If you're entirely skipping regular servlets and allowing direct access to JSP you can probably use something like ${paramValues.key[i]} On Wed, Sep 24, 2014 at 5:54 AM, Kazuaki Miyauchi <miyau...@gmail.com> wrote: > 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 value='${param.department}' /> > <sql:param value='${teamid}' /> > <sql:param value="${param.t${i}vorname}" /> > <sql:param value="${param.t${i}name}" /> > </sql:update> > </c:forEach> > > Is there some idea for this without whole description expanding i? > > Regards, > > --------------------------------------------------------------------- > To unsubscribe, e-mail: taglibs-user-unsubscr...@tomcat.apache.org > For additional commands, e-mail: taglibs-user-h...@tomcat.apache.org > -- Stuart Thiel, P. Eng. --------------------------------------------------------------------- To unsubscribe, e-mail: taglibs-user-unsubscr...@tomcat.apache.org For additional commands, e-mail: taglibs-user-h...@tomcat.apache.org