aspose 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
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: 4
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: 1018
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: 4
Thanks stefan, for the quick respose.. i ll give it a try..
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to use JSTL and EL