2013/8/17 Alireza Fattahi <afatt...@yahoo.com>: > Hi, > May be this a spring question but please help me... > Consider the example: > http://struts.apache.org/release/2.2.x/docs/spring-and-struts-2.html > > I want to use spring anotation for defining the beans. > So I make a EditServiceInMemory class as below: > > @Configuration > public class EditServiceInMemory{
Rather use @Service > @Bean > public void editService() { hm.... method that doesn't return anything is annotated as Bean producer ;-) Regards -- Ćukasz + 48 606 323 122 http://www.lenart.org.pl/ --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org