Return-Path: X-Original-To: apmail-struts-user-archive@www.apache.org Delivered-To: apmail-struts-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 40D0B102FE for ; Mon, 26 Aug 2013 13:13:33 +0000 (UTC) Received: (qmail 73591 invoked by uid 500); 26 Aug 2013 13:13:31 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 73569 invoked by uid 500); 26 Aug 2013 13:13:31 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 73561 invoked by uid 99); 26 Aug 2013 13:13:31 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Aug 2013 13:13:31 +0000 Received: from localhost (HELO mail-pa0-f48.google.com) (127.0.0.1) (smtp-auth username lukaszlenart, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Aug 2013 13:13:30 +0000 Received: by mail-pa0-f48.google.com with SMTP id kp13so3414165pab.35 for ; Mon, 26 Aug 2013 06:13:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=dBY315hNkiXk9W1kiOOmG7fpFYXNSIEx0Pa2jaO+Nco=; b=GcpY7kYm8dQH4WZreAIBbIoSdwhqTiszmckbPl4WrMuLEismyruh9eCMXTxS+F3l7m jivzehDdGETxrsPcC3tkAwaTz1ATSGOg96jUOGnLkQB4JcbjREQzzEawzfn3gqbfFObs I4DlE3H0Wnjtuxu1kMsVH/HHeeB+DYpTT1C0HVP77+Uir6Vu427Qaje1o2agrSTkFqb6 6E6c8tYiDFVKuEoLKIzKj5xiqosgDuGrQj61UjZQneE+5edFVAiigHtnMwT5g+laBmIQ eg4K9ycSPH91eECM4UVIX3raz3sqwXrZwr6nl/WlTMs4R+8f+uybYvySv7Ux8YDpLkwm uKyg== X-Received: by 10.68.201.38 with SMTP id jx6mr15275248pbc.24.1377522810347; Mon, 26 Aug 2013 06:13:30 -0700 (PDT) MIME-Version: 1.0 Received: by 10.68.20.169 with HTTP; Mon, 26 Aug 2013 06:13:10 -0700 (PDT) In-Reply-To: <1376743362.62201.YahooMailNeo@web164004.mail.gq1.yahoo.com> References: <1376729303.79696.YahooMailNeo@web164004.mail.gq1.yahoo.com> <1376730254.68586.YahooMailNeo@web164006.mail.gq1.yahoo.com> <1376743362.62201.YahooMailNeo@web164004.mail.gq1.yahoo.com> From: Lukasz Lenart Date: Mon, 26 Aug 2013 15:13:10 +0200 Message-ID: Subject: Re: Spring Anotaction with Strust To: Struts Users Mailing List Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 2013/8/17 Alireza Fattahi : > 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 --=20 =C5=81ukasz + 48 606 323 122 http://www.lenart.org.pl/ --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org