Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 1740 invoked from network); 20 Dec 2007 15:08:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Dec 2007 15:08:43 -0000 Received: (qmail 38524 invoked by uid 500); 20 Dec 2007 15:08:23 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 38498 invoked by uid 500); 20 Dec 2007 15:08:23 -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 38487 invoked by uid 99); 20 Dec 2007 15:08:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Dec 2007 07:08:23 -0800 X-ASF-Spam-Status: No, hits=4.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS,URIBL_BLACK X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of fdmanana@gmail.com designates 64.233.162.227 as permitted sender) Received: from [64.233.162.227] (HELO nz-out-0506.google.com) (64.233.162.227) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Dec 2007 15:08:13 +0000 Received: by nz-out-0506.google.com with SMTP id z31so1709893nzd.17 for ; Thu, 20 Dec 2007 07:08:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to:sender:to:subject:mime-version:content-type:x-google-sender-auth; bh=mWa2dAx2PLZIL0BhubyX25ebvj+2zWlUMmIzsS7OZeo=; b=ApalGh+Z9Nk4hTr7Oe2IxnFNMk4WlLqbK/91oXdgn8qNJUj767oGF941TdQ9HYpiHIGxYOGjM4kBJmPk46lV9ejDbttwP9cgNYyIynz+qfwL3GbKdibPZ2yhNxKyBMtNJKbYPw/2dB5jELeYHPzZ8/fUHxWdaEupHcTNN6V9qIk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:sender:to:subject:mime-version:content-type:x-google-sender-auth; b=dfgowbwdGQUvzDtu5HWAAonK/YRAdZhteYd/PNb/DYn+x5HjDwp1zruGoIBgeyB+4Ywr8nfWV+OrppgekPxwYmu2CPm7hVh97dKqIXydVcKosJG0Eyej8rVjNMAdx7ug/0UuFOHrA1b3yhceWXXjDUCWUpP2wFJqPLjUz9I5xTI= Received: by 10.141.163.12 with SMTP id q12mr29279rvo.260.1198163284175; Thu, 20 Dec 2007 07:08:04 -0800 (PST) Received: by 10.65.196.8 with HTTP; Thu, 20 Dec 2007 07:08:04 -0800 (PST) Message-ID: Date: Thu, 20 Dec 2007 16:08:04 +0100 From: "Filipe David Manana" Reply-To: fdmanana@ieee.org Sender: fdmanana@gmail.com To: "Struts Users Mailing List" Subject: action namespace MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_21802_1303195.1198163284149" X-Google-Sender-Auth: 98ecc15575b4164d X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_21802_1303195.1198163284149 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, In an Interceptors intercept method I am able to get the associated action's name, through the ApplicationContext: public String intercept(ActionInvocation ai) throws Exception { com.opensymphony.xwork2.ActionContext ac = ai.getInvocationContext(); log.info("CheckLoginInterceptor inv, actionName: " + ac.getName()); return ai.invoke(); } Now, how do I get the action's namespace, as defined in its package's namespace in struts.xml ? thanks -- Filipe David Manana, fdmanana@ieee.org Obvious facts are like secrets to those not trained to see them. ------=_Part_21802_1303195.1198163284149--