Is the items attribute in <c:forEach> tag refer only to request scoped variables?
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@<br />You cannot solve a problem with the same level of understanding that created it. <br />@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Hi rodrigue, But if the same attribute is available in the same name in more than one scope what will the "items" in the c:forEach refer???
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@<br />You cannot solve a problem with the same level of understanding that created it. <br />@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Originally posted by vijayakumar vivekanandan: But if the same attribute is available in the same name in more than one scope what will the "items" in the c:forEach refer???
Your question is about EL, not JSTL. If ${anAttribute} appears in a JSTL or anywhere it will look at page, request, session and application scopes, in that order. If you're worried about it, just use one of the implicit objects (ie ${requestScope.anAttribute}).
--Dale--
If I'd had more time, I would have written a shorter letter. -T.S. Eliot such a short, tiny ad:
Gift giving made easy with the permaculture playing cards