Please make sure you have read the Tag Syntax document and understand how tag attribute syntax works.

The id attribute is deprecated in Struts 2.1.x, and has been replaced by the var attribute.



Setting a default value for includeParams

The property struts.url.includeParams can be used to set the default value of the includeParams attribute.

   <constant name="struts.url.includeParams" value="none" />

See Constant Configuration for further information.

As of Struts 2.1.3 the includeParams constant defaults to "none".