Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 53979 invoked from network); 17 Jun 2010 13:48:29 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 17 Jun 2010 13:48:29 -0000 Received: (qmail 39365 invoked by uid 500); 17 Jun 2010 13:48:27 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 38992 invoked by uid 500); 17 Jun 2010 13:48: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 38977 invoked by uid 99); 17 Jun 2010 13:48:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Jun 2010 13:48:22 +0000 X-ASF-Spam-Status: No, hits=4.4 required=10.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ghotankarua50@gmail.com designates 74.125.82.48 as permitted sender) Received: from [74.125.82.48] (HELO mail-ww0-f48.google.com) (74.125.82.48) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Jun 2010 13:48:15 +0000 Received: by wwi18 with SMTP id 18so2145416wwi.35 for ; Thu, 17 Jun 2010 06:47:51 -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; bh=nIUP3i28kRal48Gj1CNDIqBo8MKdgMFPcWEeWlxBx+E=; b=ZuGWwi4JDaOIvu0LKC1CvDwQFaOS/4e8zpzf9K8qvVI8QCgftoCP+xa4J/1Z6lneQ6 z1COrDmkJCHNeQXjwx95PvhYUEA3Rt59FglV3bD+SSQ81ZcZmfTOMZAac2co6exMiC/I f7btMQKBBnCG4snIvRZeC5vZoPzDahXx6oblM= 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=SLyPxBlXeliOZqVas5x5IU4JFBxaVTZtqwq0Bcmp/Bp52vP8uBvY3XkvXWECCDaTZn 9//I1QBbES6LgIfH1J//N6kwHQET035EWQRTxz+7D4jK6DB5ZQoGVeAG+YGD+aF/wzpW bXhLAA4nhKphYk77ELbV9fXlvUbv52M13v7dE= MIME-Version: 1.0 Received: by 10.216.160.70 with SMTP id t48mr2070394wek.82.1276782471056; Thu, 17 Jun 2010 06:47:51 -0700 (PDT) Received: by 10.216.70.196 with HTTP; Thu, 17 Jun 2010 06:47:51 -0700 (PDT) In-Reply-To: References: Date: Thu, 17 Jun 2010 19:17:51 +0530 Message-ID: Subject: Re: Action redirect back to called actions From: Amol Ghotankar To: Struts Users Mailing List Content-Type: multipart/alternative; boundary=0016e657b1daa490df04893a15db X-Virus-Checked: Checked by ClamAV on apache.org --0016e657b1daa490df04893a15db Content-Type: text/plain; charset=ISO-8859-1 Dear Greg. Thanks for the information. Is this an inbuilt variable or we need to define it somewhere in the calling action. Can we also the namespace of the calling action in the called action directly. Regards, Amol Ghotankar cursivetech.com On Thu, Jun 17, 2010 at 6:31 PM, Greg Lindholm wrote: > You can configure a dynamic result like this: > > > ${nextAction} > > > In your action class you would then need a method "String > getNextAction()" that returns the next action name. > > > On Thu, Jun 17, 2010 at 1:19 AM, Amol Ghotankar > wrote: > > Hello. > > > > I am using struts 2.0.x and facing one issue mentioned below. > > > > I have actions x, y, z from these three actions I can call action A. > > > > Now what i want is whichever action calls A success of A must redirect to > > called action. > > > > x---> A ---> x > > > > y---> A ---> y > > > > z---> A ---> z > > > > But I also do not want to use static binding here and it must be > > automatically done for some action means if tomorrow I decide > > > > n---> A ---> n, it must work without any changes. > > > > Can I write such result type or something from where I can get the called > > action from value stack etc...... > > > > Please help me on the same. > > > > Regards, > > > > > > Amol Ghotankar > > cursivetech.com > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org > For additional commands, e-mail: user-help@struts.apache.org > > --0016e657b1daa490df04893a15db--