This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
If i use Model driven action and use model to store the data ,How Parameter Interceptor knows that it should look for setters in the model and not in the Action class?I tried to look into the source code but did n't get , how its working?
Thanks for reading this
And in case David's response wasn't clear, when the Model is pushed on the Value Stack, it sits above the Action. When both the Model and Action expose the same property, the one in the model will effectively hide the one in the action.
Joined: Feb 22, 2007
Thanks Mark and David, so what i understood is that Interceptor will always call setter on valuestack and for them it does not matter whether it is model or Action itself.