0
Je voudrais construire une chaîne avec "%"
dans un tag <c:set>
.Comment ajouter "%" à une chaîne de EL?
Ici, il va:
<c:set var="test" value="${somethingA + '%' }" />
Mais cela me donne toujours une exception au format numérique.
java.lang.NumberFormatException: For input string: "%"
Alors, comment puis-je contourner ce problème?