The question i am asking is that , how the username in the <s:textfield name="userName" /> is mapped to userName in HelloWorld Action class ??
Save India From Corruption - Anna Hazare.
posted 7 years ago
All the form properties is stored on the ValueStack.
Action class contains the form properties and the corresponding getter and setter methods
we set the the values of forms in action
The name attribute of the UI tag is the one which links the property on the ValueStack.