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


Win a copy of Java 8 in Action this week in the Java 8 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: 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: 1016
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..
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to use JSTL and EL
 
Similar Threads
forEach tag
Passing a list of beans from a servlet to jsp page to display in html table
Populating a HTML select with a servlet - how is it done?
JSP Combobox and Java Class
Storing resultset into arraylist