Actually that patch is not a solution, definitely.

The solution could be:
disable evaluation by default,
add a hint to enable evaluation.

for example
old---        <s:property value="%{amount}" />
solution--- <s:property value="eval/%{amount}" >

i suggest this solution since
<s:property value="%{amount}" />
and
<s:property value="amount" />
should output the same. am I wrong?
also because for the most of the cases just attribute values should be
printed and not evaluated the content
(note: the initial problem was the s2 performance)

Best,
Aram
________________________________
Aram Mkhitaryan

52, 25 Lvovyan, Yerevan 375000, Armenia

Mobile: +374 91 518456
E-mail: [EMAIL PROTECTED]

Reply via email to