I am trying to use an if condition to display an item or not in one of my JSP files.
I currently have
<c:if test="${fn:length(${model.listOfListProducts}) gt 0}">
<p> we got in </p>
</c:if>
I am trying to see if the length of one of my Lists< List<>> in my model object is essentially greater than 0 (not null)
But this does not display the paragraph that I have placed inside. Is my test statement syntactically wrong?
> object
– user3777012 Jul 23 '14 at 22:12