Thanks a lot for giving me proper direction. I solved it by changing the bean scope from default 'singleton' to 'prototype' as suggested in the struts2-spring-jpa-ajax tutorial at http://struts.apache.org/2.0.11/docs/struts-2-spring-2-jpa-ajax.html
Thanks again.. -Rushikesh On Mon, Mar 10, 2008 at 6:37 PM, Othon Reyes Sanchez <[EMAIL PROTECTED]> wrote: > * - In 2.0+ isn't the default scope singleton?* > Yes, the deafault scope is singleton (Only one instance for the class ). > You can change the scope fo your beans to request or session but also you > nedd to add some configuration to your web.xml. > > Are you using ModelDriven interface?. > > > > On Mon, Mar 10, 2008 at 11:29 AM, Dave Newton <[EMAIL PROTECTED]> > wrote: > > > --- Rushikesh Thakkar <[EMAIL PROTECTED]> wrote: > > > Not doing much in the applicationContext.xml file: > > > > > > <beans default-autowire="autodetect"> > > > <bean id="putMappArchiveObject" > > > > > class="no.bbs.webservice.mapp.client.web.action.PutArchiveObject"> > > > </bean> > > > </beans> > > > > - Is that an action definition? > > - What version of Spring? > > - In 2.0+ isn't the default scope singleton? > > > > Dave > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > >