I am using display tag with struts2 for pagination in my project. I want to display table for specific type and my arraylist contains different product types like stationary, grossary, bakery and other. I want to display table for grossary and bakery products. I used "s:if" struts2 tag but it is not working. The result is it display all the product list. Please suggest me how to use condition statements in display tag. My jsp code is like -
Joined: Jun 20, 2012
Struts2 tag could not work inside the display tag. I resolved this problem by creating two lists in action class with the help of if else condition. Then I used these list to display two different tables using display tag.