struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rushikesh Thakkar" <thakkar.rushik...@gmail.com>
Subject Re: Clearing Action properties from ValueStack
Date Tue, 11 Mar 2008 11:44:30 GMT
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 <othon.reyes@gmail.com>
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 <newton.dave@yahoo.com>
> wrote:
>
> > --- Rushikesh Thakkar <thakkar.rushikesh@gmail.com> 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: user-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@struts.apache.org
> >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message