In order to better understand the ValueStack I wrote the following code to
explore it:

ValueStack myStack = ActionContext.getContext().getValueStack();
        out.println("Stack size " + myStack.size() + "<br/>");
        java.util.Map myMap = myStack.getContext();
        for (Object pollo : myMap.keySet()) {
            Object value = myMap.get(pollo);
            out.print("<li>");
            out.println(pollo.toString() + " - ");
            if (value != null) {
            out.println(value.toString());
            }
        }

The results are much different from what I was expecting to see. 
First there is no notion of the different level of the satck.
Second lots of objects accessible inside the jsp with struts tag and related
to action properties are not present.

Thanks
Filippo
-- 
View this message in context: 
http://www.nabble.com/Investigating-the-ValueStack-tf3951442.html#a11210514
Sent from the Struts - User mailing list archive at Nabble.com.


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

Reply via email to