Is my understanding correct that Preparable and ModelDriven are 2 different ways of doing the same thing, or are they complementary in any way?

After reading up on the website there are a few questions that spring to mind.

* ModelDriven: how do I get hold of my model during my action methods? I don't want to get getModel() again, because that will retrieve another instance of the entity and not the one that was populated by struts.

* why do param-prepare-param instead of just prepare-param with

ServletActionContext.getRequest().getParameter("id") in prepare,

which would save a whole cycle through the param interceptor?



Regards
Adam

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to