Please make sure you have read the Tag Syntax document and understand how tag attribute syntax works.
The token tag is used to help with the double click submission problem. It is needed if you are using the TokenInterceptor
or the TokenSessionInterceptor
. The s:token
tag merely places a hidden element that contains the unique token.
{% remote_file_content https://raw.githubusercontent.com/apache/struts/master/core/src/site/resources/tags/token-description.html %}
{% remote_file_content https://raw.githubusercontent.com/apache/struts/master/core/src/site/resources/tags/token-attributes.html %}
<s:token />