Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 13736 invoked from network); 16 Jul 2010 19:58:12 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 16 Jul 2010 19:58:12 -0000 Received: (qmail 29360 invoked by uid 500); 16 Jul 2010 19:58:10 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 29313 invoked by uid 500); 16 Jul 2010 19:58:10 -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 29305 invoked by uid 99); 16 Jul 2010 19:58:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Jul 2010 19:58:10 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of poulwiel@gmail.com designates 74.125.82.176 as permitted sender) Received: from [74.125.82.176] (HELO mail-wy0-f176.google.com) (74.125.82.176) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Jul 2010 19:58:03 +0000 Received: by wyb29 with SMTP id 29so2924018wyb.35 for ; Fri, 16 Jul 2010 12:57:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=FRKGL64HB9PDh9222E+HuvV4Oh2SduPX8/rcJEb5xUg=; b=Ofh+WCVnRk5LLVCZsuxpZ9eK0Bu/uVbTX0BkBxef/eglprBcJw3Rzp9j7ajF0jbi21 5uYGyL0btDuFBZkA2kRUG2PhGx4I/KFkqqck8M4FnLA/A5omlrU+udxtwQpMpME6lBE9 ppbzjICU+4JRwYhGIc6VyvQejR/ErvyoQgS1g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=O03Uy49EmWz1zx2H39bZsmzbSkF0sMb8L9o1l26RBpTwhoEdLgeKZRhgdccyZEuiUH WdGz+khdbc9ma5XKGR5DXr9FvMsZr6Pb2LJyujXcJ0RhMVv0X+uye9pG4g64eSIx3aFp x+4i3m90KTTHv0wGv9yFPevsO7WiUSX/Q2o74= MIME-Version: 1.0 Received: by 10.227.128.134 with SMTP id k6mr1347717wbs.23.1279310262034; Fri, 16 Jul 2010 12:57:42 -0700 (PDT) Received: by 10.216.167.139 with HTTP; Fri, 16 Jul 2010 12:57:41 -0700 (PDT) In-Reply-To: <4C3E0FE3.8070509@gmail.com> References: <4C3E0FE3.8070509@gmail.com> Date: Fri, 16 Jul 2010 21:57:41 +0200 Message-ID: Subject: Re: ParentPackage annotation not applying to subpackages From: =?ISO-8859-2?Q?Pawe=B3_Wielgus?= To: Struts Users Mailing List Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hi, all i can advice is to use default parent package. I described it here: http://poulwiel.blogspot.com/2009/01/intercepting-all-actions-inside-my-app= .html Best greetings, Pawe=C5=82 Wielgus. 2010/7/14 JP Cafaro : > I'm using struts 2 with convention plugin. =C2=A0The convention plugin pa= ge > states for the ParentPackage annotation, "To apply this annotation to all > actions in a package (and subpackages), add it to package-info.java." =C2= =A0I > have two packages, my-default and my-secure. =C2=A0I have a package calle= d > actions.secure and in it I have a package-info.java with a ParentPackage > annotation for "my-secure". =C2=A0However, I have subpackages, > actions.secure.view, etc. and in order for them to think they are also pa= rt > of "my-secure", they need their own package-info.java file. =C2=A0This is > annoying. =C2=A0How do I make the package-info.java apply to all of the > subpackages like the convention page says. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org > For additional commands, e-mail: user-help@struts.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org