struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Husted" <hus...@apache.org>
Subject Re: Fast ValueStack
Date Sat, 27 Jan 2007 03:35:22 GMT
On 1/26/07, David H. DeWolf <ddewolf@apache.org> wrote:
> pages.   The real kicker is when I remove the method invocations
> (%{getText('')})  - this results in a 1100-1200ms/request gain (an
> average of about 100ms per method invocation) and drops my total request
> time to well under a second.

The tags now have a "key" attribute that can be used in place of the
getText OGNL expression.

I'd be curious to know if

<s:textfield key="lastName" />

runs faster than

<s:textfield label="%getText('lastName')" name="lastName" />

If so, I wonder if there other places where we could eliminate common
OGNL statements by adding functionality to the tags.

-Ted.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Mime
View raw message