For example i have variable numberOfRecords, which indicate number of result on page. I want transfer this variable across more pages.
My first question is
In which actions must be getter and setter for these variable? and second
How must look struts.xml in basic, working configuration?
I leave the example on
Struts pages, but don't understand these formulation
The scope interceptor can be used to pass arbitrary objects from one action ActionA to another other ActionB, provided you have a getter in ActionA and and a similar setter in actionB.
It's not logical - there is written that "pass objects from ActionA ... in ActionA must be getter". I think that must be setter in ActionA because I want here set the value and get it in ActionB - where I would expect getter method.
I am interested in how does it works, description of the principle will be sufficient.