EL's functional basis

*, use el to determine whether certain characters are included

      

<c:if test="${fn:contains(s1,'s2')}">
            If s2 appears in s1, return true, otherwise false
</c:if>

      Note: s2 in contains is wrapped in single quotes, remember to remember the use of single and double quotes

 

*、

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326605855&siteId=291194637