I have the this piece of code on my application:
<c:when test="${fn:startsWith(var,'value')}">
<c:set var="other_var" value="x"></c:set>
</c:when>
But I just find out that I am not allowed to use any version above 1.0 of standard taglib.
Do I have any good alternative to use here?
Create an EL function yourself.
Create
/WEB-INF/functions.tldwhich look like follows:Use it as follows: