struts2 - understanding the value stack
I have a question regarding the struts2 value stack. Let's say I have an Action class called RegisterAction that has an execute method as follows: public String execute() { ValueStack stack = ActionContext.getContext().getValueStack(); stack.push(new String("test string")); return SUCCESS; } My struts.xml looks like this: ...