With model-driven, we don't need to prefix the property references
with "model." or "user.". We can also do things like mix and match
properties from the model and the Action, without adding extra
references. For example, a model object might have a password
property, but it won't have a passwordC
this is a question for Struts2 interceptors..
I saw some examples, the action class implements ModelDriven,
So this function is added in action class:
public Object getModel() {
return user;
}
Then jsp can directly access the properties of the User object.
Beside this, what is the ben
2 matches
Mail list logo