I need to hide an element if certain values are present in the JSP
The values are stored in a List so I tried:
The following is more of a workaround than an answer to your question but it may be what you are looking for.
If you can put your values in a map instead of a list, that would solve your problem. Just map your values to a non null value and do this or you can even map to style='display:none; and simply output ${mymap.myValue}