Home > Guides > Tag Developers Guide > Struts Tags > Tag Reference > Generic Tag Reference > property

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

Description

Used to get the property of a value, which will default to the top of the stack if none is specified.

Parameters

Dynamic Attributes Allowed:

false
 

Name

Required

Default

Evaluated

Type

Description

defaultfalsefalseStringThe default value to be used if value attribute is null
escapefalsetruefalseBooleanDeprecated. Use 'escapeHtml'. Whether to escape HTML
escapeCsvfalsefalsefalseBooleanWhether to escape CSV (useful to escape a value for a column)
escapeHtmlfalsetruefalseBooleanWhether to escape HTML
escapeJavaScriptfalsefalsefalseBooleanWhether to escape Javascript
escapeXmlfalsefalsefalseBooleanWhether to escape XML
valuefalse<top of stack>falseObjectValue to be displayed

Examples