eatQuot
From Documentation
java.lang.String eatQuot(java.lang.String)
Eliminates single and double quotations to avoid JavaScript injection. It eliminates all quotations. In other words, the specified string shall NOT contain any quotations. It is used to avoid JavaScript injection. For exmple, in DSP or JSP pages, the following codes is better to escape with this method.
<input value="${c:eatQuot(param.some)}"/>
Version History
Version | Date | Content |
---|---|---|