I have a scenario like one customer have list of orders,each list have list of Items
private Item item;
private ArrayList<Item> items;
private ArrayList orders;
I can iterate those like
Can i display those in JSF using forEach loop like
You will generally not enjoy what happens if you use JSTL with JSF. Fortunately, JSF has its own, better-integrated ways of doing the things that JSTL does.
Normally my recommendation when rendering a collection of objects in a JSF View is to use an h:dataTable element paired with a DataModel model support object. However, nested tables in JSF are not well supported.
One possibility would be to use a dataTable for the outer collection and a ui:repeat for the inner collection.
You can nest a dataTable within another dataTable, but since currently JSF has little support for retrieval of selected data from a nested DataModel, the code required to do so is not very pretty.
Customer surveys are for companies who didn't pay proper attention to begin with.