Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 48692 invoked from network); 15 Jul 2008 04:07:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Jul 2008 04:07:00 -0000 Received: (qmail 86197 invoked by uid 500); 15 Jul 2008 04:06:51 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 86170 invoked by uid 500); 15 Jul 2008 04:06:50 -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 86159 invoked by uid 99); 15 Jul 2008 04:06:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Jul 2008 21:06:50 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [220.233.0.58] (HELO conker.exetel.com.au) (220.233.0.58) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Jul 2008 04:05:57 +0000 Received: from [220.233.11.162] (helo=[192.168.1.150]) by conker.exetel.com.au with esmtpa (Exim 4.68) (envelope-from ) id 1KIbkt-0000Lf-1Z for user@struts.apache.org; Tue, 15 Jul 2008 14:03:11 +1000 Message-ID: <487C2179.9050205@blueskyminds.com.au> Date: Tue, 15 Jul 2008 14:03:05 +1000 From: Jeromy Evans Organization: Blue Sky Minds Pty Ltd User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: Struts Users Mailing List Subject: Re: REST plugin URL syntax References: <7675ea080806151522x4daf270ap8ab450c3d9f4fbae@mail.gmail.com> <7675ea080806161610w2a89405fub369bea075adde68@mail.gmail.com> <1c661f2f0806162328r2f20ec24jc27567af9f31bae1@mail.gmail.com> <4858BF6A.1060003@blueskyminds.com.au> <7675ea080807012107i3e7d10eas50ddcba77cd82408@mail.gmail.com> <486B822F.6010301@blueskyminds.com.au> <18298747.post@talk.nabble.com> <7675ea080807061506j1d774891l5e219cdb1b78c7c6@mail.gmail.com> <48735F12.3010400@blueskyminds.com.au> <48783F8F.1090100@blueskyminds.com.au> <7675ea080807141451t57dc9c60jd02530eb04586c9b@mail.gmail.com> In-Reply-To: <7675ea080807141451t57dc9c60jd02530eb04586c9b@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Mike Watson wrote: > > BTW, if I want a controller to work in multiple namespaces do I need > to declare seperate packages in struts.xml instead of just relying on > the @Namespace annotation? > > Thanks again for all your help. > > Unfortunately when using Codeheind, you do have to create a new package for each namespace. The easiest way to do that is to extend your action and add a @Namespace for each subclass. It's wasteful but works. The Convention Plugin that (eventually) supersedes Codeheind does include a @Namespaces() annotation. Glad I could help! --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org