KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I need to hide an element if certain values are present in the JSP The values are stored in a List so I tried: <c:if test="${ mylist.contains( myValue ) }">style='display:none;'</c:if> But, it doesn't work. How can I evaluate if a list contains a value in JSTL, the list and the values are strings.
Tags (comma-separated)
Save Edits
Cancel