1. There are 2 logical parts inside the Valuestack object:
--Objectstack:struts the Action and related objects in the RU Objectstack
--Contextmap:sturts The various mapping relationships (some map types of objects) into the Contextmap, which is actually a reference to Actioncontext
2. Struts will press the following mappings into the Contextmap:
--Parameters: The map contains the request parameters of the current request;
--Request: The map contains all the attributes in the current request object;
--session: The map contains all the attributes in the current session object;
--application: The map contains all the properties of the current Application object;
--attribute: The map retrieves a property in the following order, request, session, application
3. The object properties in the value stack (valuestack) can be accessed directly on the JSP page via OGNL (Object-graphnavigation Language Object-Graph navigation language). If you want to access the data in the Contextmap in the value stack, you need to prefix the OGNL expression # and the search will be performed in Objectstack if there is no prefixed character #.
Struts2 stack of values