Don Brown wrote:
Sounds good.  Are there any performance implications?

Don

According to https://issues.apache.org/struts/browse/WW-1681 the performance implications are very significant (significantly improved).

getText(String) invoked via OGNL and and getText(key, defaultValues, args) invoked via Text are essentially identical in the default implementation (TextPrroviderSupport) as both invoke LocalizedTextUtil.findText(). The improvement comes down to iteration through the stack to find a class vs ognl expression evaluation plus iteration through the stack to find a method.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to