Re: Struts2, "model-driven" interceptors

2006-11-08 Thread Ted Husted
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

Struts2, "model-driven" interceptors

2006-11-08 Thread frankiestd168
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