mercredi 15 avril 2015

Usage of defaultHtmlEscape web.xml in JSTL

So I have set the following parameters in my web.xml:



<context-param>
<param-name>defaultHtmlEscape</param-name>
<param-value>true</param-value>
</context-param>


Will this automatically escape outputs for the field by only declaring in the JSP:


<input type="text" class="form-control" id="label" name="label" value="${field.label}">


or do I need to use the <spring:? Or use the <form: tags?


Aucun commentaire:

Enregistrer un commentaire