Re: How to use index in EL expression?
Kazuaki Miyauchi <[email protected]> Thu, 2 Oct 2014 18:06:25 +0900
| Newsgroups | gmane.comp.jakarta.taglibs.user |
|---|---|
| Message-ID | <CAFLYOCHQo0J2JA2J2AUm8U7hvrPTph3_sgfR=EVyCEKZCZjYfA@mail.gmail.com> |
Thanks a lot! I'll check its correctly working. Regards, K. Miyauchi 2014-09-25 19:00 GMT+09:00 Peter Wagner <[email protected]>: > Hello, > > > use a temporary variable as an =E2=80=9Cindex=E2=80=9D: > > > > > > <%@ taglib uri=3D"http://java.sun.com/jsp/jstl/core" prefix=3D"c" %> > > <html> > > <head> > > <title>EL Test</title> > > </head> > > > <body> > > <c:forEach var=3D"i" begin=3D"1" end=3D"10"> > > <c:set var=3D"paramName" value=3D"vorname${i}"/> > > ${param[paramName]}<br/> > > </c:forEach> > > </body> > > </html> > > > > > Regards, Peter