Description
In Struts 2.5.22, the following JSP fragment:
<s:set var="myVariable"> </s:set> <s:property value="#myVariable"/>
generates the following HTML fragment:
com.sample.MyAction@c1a47f6c
I would expect an empty output (as trimBody is set to "true" by default).
Moreover, when the set tag body is empty:
<s:set var="myVariable" trimBody="false"/> <s:property value="#myVariable"/>
disregarding the value of the trimBody attribute, the output is the same:
com.sample.MyAction@c1a47f6c