struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Huber <>
Subject Docs on which is the preferred variable reference
Date Thu, 16 Jun 2016 08:10:06 GMT
I seem to be doing a lot of references in my jsp's


<s:set var="uuId" value="getUuId()" />

<s:hidden id="bean_%{#attr.uuId}" name="bean.somevalue%{#uuId}" />
ie %{#uuId} or %{#attr.uuId}

<s:property value="getUuId()" />
<s:property value="uuId" />
<s:property value="#uuId" />
<s:property value="#attr.uuId" />

Is there anywhere that explains which is best to use to reduce the overhead?

Looking at the source, there seems alot of checking with the get and #
adding and removing etc.

Cheers Greg

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message