what is the difference between ActionContext and ValueStack in struts2
-
28-10-2019 - |
Question
I am unable to understand how parameters go into ValueStack . How the parameters are passed.
what is the use of value stack and ActionContext?
I am having a variable name with getter & setter in my Action class,where will be the values be stored.
Solution
The ActionContext is the context in which an Action is executed. Each context is basically a container of objects an action needs for execution like the session, parameters, locale, etc.
ValueStack - Contains all the application-domain–specific data for the request
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow