Slim3 JSP‎ > ‎

h

This function encodes the input object. If the object is a string, it is escaped as HTML. If the object is a key, it is encoded as Base64. Anything else is converted to a string using toString() method.
For example:
<%@taglib prefix="f" uri="http://www.slim3.org/functions"%>

${f:h(attributeName)}

See demo and sample source.

Next...

Continue to url.


Comments