On Wed, 19 Aug 2009 09:24:52 -0400, Raghuveer.V <[email protected]> wrote:

Hi,



I have a problem implementing ScopedModelDriven.


One thing that could be a problem:


            public void prepare() throws Exception {
            user = new User();

Don't instantiate a new User object - the interceptor will do that the first time, and will pull the object out of session after that, and inject it into your action class.


Steve

--
Stephen Turner
Senior Programmer/Analyst - SAIS
MIT IS&T

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to