Re: Spring Struts problem

2016-03-24 Thread Lukasz Lenart
2016-03-24 22:25 GMT+01:00 José Antonio Delgado Trujillo : >> >> You must define also scope="prototype" as Struts actions cannot be singletons > > There is nothing about that in the tutorial > https://cwiki.apache.org/confluence/display/WW/Spring+and+Struts+2 >

Re: Spring Struts problem

2016-03-24 Thread José Antonio Delgado Trujillo
> > You must define also scope="prototype" as Struts actions cannot be singletons > There is nothing about that in the tutorial https://cwiki.apache.org/confluence/display/WW/Spring+and+Struts+2 > You shouldn't mix Struts vers

Re: Spring Struts problem

2016-03-24 Thread Lukasz Lenart
2016-03-24 21:41 GMT+01:00 José Antonio Delgado Trujillo : >> >> Can you share your config? > > My applicationContext.xml is… > > > http://www.springframework.org/schema/beans"; >xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; >xsi:schemaLocation=" > http://www.s

Re: Spring Struts problem

2016-03-24 Thread José Antonio Delgado Trujillo
> > Can you share your config? My applicationContext.xml is… http://www.springframework.org/schema/beans"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org

Re: Spring Struts problem

2016-03-24 Thread Lukasz Lenart
2016-03-24 14:56 GMT+01:00 José Antonio Delgado Trujillo : > I understood that spring can manage and inject dependency class in Action. > You can also use CDI instead of Spring > In the example manage and inject EditServiceInMemory. > To do this: > >- Insert the struts spring plugin depend