| Author |
help on Taglib : jstl/c
|
Rajeev Ravindran
Ranch Hand
Joined: Aug 27, 2002
Posts: 455
|
|
hi all, i though the above code prints one, two and three.. why is it ? Thanks, Rajeev
|
 |
Rajeev Ravindran
Ranch Hand
Joined: Aug 27, 2002
Posts: 455
|
|
i had to use tomcat 5.. Rajeev.
|
 |
Sunny Singh
Greenhorn
Joined: Mar 25, 2005
Posts: 3
|
|
Rajvee, Here's the right way to get items from request scope. <C:forEach var="movie" items="${requestScope.movieRequest}"> <TR><TD width="146">${movie}</TD> </TR> </C:forEach>
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56197
|
|
Either of ${requestScope.movieRequest} or ${movieRequest} will work since the latter searches all scopes to find the variable. The difference is that the first will only look in request scope. The shorter version will fail only if a conflicting variable named movieRequest also exists in page scope.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
 |
|
|
subject: help on Taglib : jstl/c
|
|
|