File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes How to use JSTL and EL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "How to use JSTL and EL" Watch "How to use JSTL and EL" New topic
Author

How to use JSTL and EL

Mani Rai
Greenhorn

Joined: Dec 26, 2012
Posts: 5
I have a list of bean objects, that will be sent in request scope from servlet to jsp page as shown below:



How to retrieve this request and print its properties using jstl?
Stefan Evans
Bartender

Joined: Jul 06, 2005
Posts: 1517
    
    6
You would get a hold of the list via ${requestScope.adminList} or possibly even just ${adminList}

A <c:forEach> tag would loop over all the items in the list, allowing you to print the properties.

Mani Rai
Greenhorn

Joined: Dec 26, 2012
Posts: 5
Thanks stefan, for the quick respose.. i ll give it a try..
 
 
subject: How to use JSTL and EL
 
It's not a secret anymore!