Out prints the specified text, translating its value by default. It is typically used to print locale-specific output, but also includes limited support for simple if-else clauses:
<%--
Print some translated text
--%>
<l:out value="foo"/>
<%--
Print some translated text
--%>
${messages['foo']}
<%--
Print "add" or "remove" if item belongs to a collection
--%>
<l:out value="add"
if="${!l:contains(action.items, item)}"
else="remove"/>
<%--
Print action.item.id or action.item.name depending on the value of foo
--%>
<l:out value="${action.item.id}"
if="${foo}"
else="${action.item.name}"
translate="false"/>
Outproperty has the same syntax of out, but prints the value of any action attribute, using the associated Converter. It's useful to print any property formatted to the current locale:
<l:outProperty name="mortgage.date"/>