yes that's a good catch Dale, from the API point of view they are
stored in a map in the ValueStack instance, but from a user point of
view you could say they are stored in the "valuestack context".

musachy

On Thu, Jul 23, 2009 at 9:03 PM, Dale Newfield<d...@newfield.org> wrote:
> Musachy Barroso wrote:
>>
>> Objects can be put in the stack by name, like the HttpServletRequest
>> object. Theseobjects are accessed using the "#" notation, like
>> "#request". The "set" tag can add things to the stack by name(for
>> example).
>
> The only confusing bit about the way that was just described is that things
> put into scope are not added to the stack.  There's both a stack of objects
> and a hash mapping names to objects.  When you "set" something you're adding
> it to the hash table, not the value stack.  To later address something in
> this hash table you prefix it with #.
>
> -Dale
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>



-- 
"Hey you! Would you help me to carry the stone?" Pink Floyd

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to