aspose file tools
The moose likes JSP and the fly likes JSTL forEach Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » JSP
Reply Bookmark "JSTL forEach " Watch "JSTL forEach " New topic
Author

JSTL forEach

Alex Florentino
Ranch Hand

Joined: Dec 12, 2006
Posts: 48
I Have index.jsp, the code:

don't show AFS... but if I put:


now it works!... it is correct ? the foreach only work for "attributes".

thanks a lot.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56554
    
  14

That is correct. The EL has no access to scriplet variables, which makes sense since JSTL and EL are designed to remove the need for scriplets!

The proper term for the "attributes" are scoped variables.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSTL forEach
 
Similar Threads
request.getAttribute Not Displaying Anything In JSP
I got http-500 error in servlet and jsp.how to find error?
Hibernate and JSP
Why list is not being printed?
Iterating through local List using JSTL