Return-Path: X-Original-To: apmail-struts-user-archive@www.apache.org Delivered-To: apmail-struts-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 562E9E683 for ; Sun, 3 Mar 2013 02:10:40 +0000 (UTC) Received: (qmail 71314 invoked by uid 500); 3 Mar 2013 02:10:38 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 71288 invoked by uid 500); 3 Mar 2013 02:10:38 -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 71270 invoked by uid 99); 3 Mar 2013 02:10:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Mar 2013 02:10:37 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of motgupta@gmail.com designates 74.125.83.43 as permitted sender) Received: from [74.125.83.43] (HELO mail-ee0-f43.google.com) (74.125.83.43) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Mar 2013 02:10:26 +0000 Received: by mail-ee0-f43.google.com with SMTP id c50so3252750eek.16 for ; Sat, 02 Mar 2013 18:10:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=jaVsvQ1U+3RU4uuYdMHn92CRv50T///GA0Uo2ZM/dYE=; b=VdqLf1JSMlpg7DLqnHiORxitmne2pEvouJ40AOaHP2GyN73YVRG7I3f8dpR7SN3zBB sKdCjazXfioNmEwvB960/7piOSXr2g4dDl1XtkA1o5p0rKfF04F36GgBNvbpUfwSw/E8 QmZ5KBISy4o0KyhRXLi53MJlDx7LtjUE1UwzYhjVloMBSXqBMSZl30k2bE2XU5SeOP5i T/UU2JI0N6bvVPEKFEV/8h8iCb36pGfzGvVemz99qQw+GBd5KnKvfQOgIcK9eUh9KG/7 /ZbR+Nfiyt3OkJ+yQEzy3PDgBGUJtjuzE2bpZjzozX7EReIz4OCqMStQ/rAMCK8p+qMb AkMA== MIME-Version: 1.0 X-Received: by 10.14.214.66 with SMTP id b42mr43524550eep.34.1362276605018; Sat, 02 Mar 2013 18:10:05 -0800 (PST) Received: by 10.15.24.130 with HTTP; Sat, 2 Mar 2013 18:10:04 -0800 (PST) In-Reply-To: References: Date: Sun, 3 Mar 2013 07:40:04 +0530 Message-ID: Subject: Re: Only one Object gets initialized in action class? From: Mohit Gupta To: Struts Users Mailing List Content-Type: multipart/alternative; boundary=047d7b603fca20efd204d6fbbd0b X-Virus-Checked: Checked by ClamAV on apache.org --047d7b603fca20efd204d6fbbd0b Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Lukasz, First of all i would like to know, if i have below code ,how it is supposed to work Here is my action class i.e DisplayCustomerAction.java which has 3 type of instance variable i.e private CustomerData customerData=3Dnull private CustomerAddress customerAddress=3Dnull; private ShoppingDetail shoppingDetail=3Dnull; // getters and setters of above variable Now i have below code snippet in JSP Am i supposed to get all 3 instance variable initialized(i.e customerData, customerAddress,shoppingDetail) in action class with the values passed in s:param tag ? This is the main point question here. What i am experiencing is only one object gets initialized which is first in order as s:param under s:url. In this case customerData. Similary if i put as first parameter under s:url tag then only shoppingDetail gets initialized while rest two are not initialized? On Sat, Mar 2, 2013 at 8:37 PM, Lukasz Lenart wrot= e: > I have tested with the latest version and everything is ok. > > Did you try that way value=3D"Escort Avenue"/> ? > > > Regards > -- > =C5=81ukasz > + 48 606 323 122 http://www.lenart.org.pl/ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org > For additional commands, e-mail: user-help@struts.apache.org > > --047d7b603fca20efd204d6fbbd0b--