Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 45668 invoked from network); 27 May 2009 06:54:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 27 May 2009 06:54:07 -0000 Received: (qmail 86952 invoked by uid 500); 27 May 2009 06:54:17 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 86891 invoked by uid 500); 27 May 2009 06:54:17 -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 86881 invoked by uid 99); 27 May 2009 06:54:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 May 2009 06:54:16 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of stefanorg@gmail.com designates 209.85.220.163 as permitted sender) Received: from [209.85.220.163] (HELO mail-fx0-f163.google.com) (209.85.220.163) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 May 2009 06:54:07 +0000 Received: by fxm7 with SMTP id 7so5280199fxm.11 for ; Tue, 26 May 2009 23:53:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=QLlZ48vBAWtou07yHLWIZcWun7WjGSaJdv1JFtQEdSE=; b=ThPA0BgORHta5Y4lzPWzOcTheHagIxexe3bHqQhB1Z6LrsyMI0EuU8NyDeG9mHwRPo 5gGoRPWEyDBEWeGNZK/crbUYQ3BKRBZFObBTNNIotPj5LCtMUiyAfdl7r6nGnTVxajWD 8XLAjUE2tfuzy2CgRtvJ9hI72tYDMa8Q7Rd3E= 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; b=k+4V5wbD5XL73tq87aExclOUHhN47JbYGjMrhfyDW+2aJe9IkaJeggB2SJCzaOLUwT 4iT5owHMuBNgA3r1vEtGZDnVhEDH/EXRwGt0C+RZKXVv19BqdzZqJp680DN8EkHnQEeN KijzEbqZNfDchTrjFIvzNVHVsPDlsUyLZHfx0= MIME-Version: 1.0 Received: by 10.239.140.212 with SMTP id y20mr580736hby.165.1243407227129; Tue, 26 May 2009 23:53:47 -0700 (PDT) In-Reply-To: References: Date: Wed, 27 May 2009 08:53:47 +0200 Message-ID: Subject: Struts2 Interceptor From: Stefano Corallo To: user@struts.apache.org Content-Type: multipart/alternative; boundary=001485f629441590ff046adf4ed2 X-Virus-Checked: Checked by ClamAV on apache.org --001485f629441590ff046adf4ed2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi all, can an interceptor call an arbitraty action different from the action requested by the client? Suppose i've the interceptor "interceptor-router" placed in the stack and the client call MyAction.action, when the interceptor intercept the call is possible to 'redirect' the call to MyDifferentAction.action from the interceptor? I've seen that there is action chaining but this require to know at build time the name of the actions i want to redirect to, but i know the name only at runtime and I hope i was clear :) sorry for my english. -- Stefano Corallo --001485f629441590ff046adf4ed2--