Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 79452 invoked from network); 5 Sep 2006 21:24:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 5 Sep 2006 21:24:17 -0000 Received: (qmail 75583 invoked by uid 500); 5 Sep 2006 21:24:08 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 75557 invoked by uid 500); 5 Sep 2006 21:24:08 -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 75546 invoked by uid 99); 5 Sep 2006 21:24:08 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Sep 2006 14:24:08 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [209.86.89.65] (HELO elasmtp-kukur.atl.sa.earthlink.net) (209.86.89.65) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Sep 2006 14:24:07 -0700 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=dk20050327; d=ix.netcom.com; b=eqHo4DaH03lqzp+XFV+qEER5lqM5sdjmPZiS0wSBKW/2OCkos0YXBQGPoN9TrFZb; h=Received:From:To:Subject:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:X-Priority:X-MSMail-Priority:X-Mailer:In-Reply-To:X-MimeOLE:Importance:X-ELNK-Trace:X-Originating-IP; Received: from [141.157.177.170] (helo=friedman) by elasmtp-kukur.atl.sa.earthlink.net with asmtp (Exim 4.34) id 1GKiOY-0007w8-KL for user@struts.apache.org; Tue, 05 Sep 2006 17:23:47 -0400 From: "David Friedman" To: "Struts Users Mailing List" Subject: RE: What is action's parameter usage Date: Tue, 5 Sep 2006 17:24:04 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: <56B2273AB77DDA4E9216BD7639D1298301222EEB@VMXYVR2.ds.mda.ca> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962 Importance: Normal X-ELNK-Trace: b135f2a34802a90f6f36dc87813833b2866e14058d4cf7afd088b912b7e6fe0c1c1d1814c92ffc64350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 141.157.177.170 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Or to put it simply: The parameter field is for your individual use. It allows you to put information in the action config which you can retrieve in your action to use as you see fit. Two good examples are DispatchAction and ForwardAction. DispatchAction uses it to determine which method to invoke. ForwardAction uses that field as the name of a new url to forward over to, in case you moved a URL or something in your webapp (though there are other uses). Again, what you pass in the parameter field is totally up to you for your own Action custom classes. Regards, David -----Original Message----- From: Fei LI [mailto:FLI@mdacorporation.com] Sent: Tuesday, September 05, 2006 5:06 PM To: user@struts.apache.org Cc: Fei LI Subject: What is action's parameter usage Hi, Can anybody help me to understand action's parameter usage. Can you give me a simple example like: