On Wed, 19 Aug 2009 09:24:52 -0400, Raghuveer.V <raghuve...@infotechsw.com> 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: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to