Inserts a hidden <input/> or <meta/> with the CSRF protection token.
Usage#
<wiki:~CsrfProtection />
Parameters#
- format
- Optional, if equals to meta generates a <meta/> field, everything else generates an <input type=hidden/> field.
Example#
On a form on a JSP page: <wiki:CsrfProtection /> On commonheader.jsp page: <wiki:CsrfProtection format="meta" />