Re: Searching Value Stack - OGNL

2009-01-08 Thread Musachy Barroso
Struts iterates on the stack until it finds a result, unless a named object is used in the expression (no iteration, just a direct lookup). So yeah, if you use #request.xyz and xyz is in the request scope, it will be faster. musachy On Thu, Jan 8, 2009 at 1:21 PM, Andy wrote: > > Would specifyin

Searching Value Stack - OGNL

2009-01-08 Thread Andy
Would specifying a scope (ex. #request) speed up OGNL searches of the Value Stack? Otherwise I would image the Value Stack would have to search all scopes if scope was not specified? If I have 1,000 items in the Value Stack and the Value Stack is searched 50 times (50 tags in my JSP), then th