Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 32023 invoked from network); 28 Aug 2009 17:19:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 28 Aug 2009 17:19:06 -0000 Received: (qmail 23082 invoked by uid 500); 28 Aug 2009 17:19:02 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 22959 invoked by uid 500); 28 Aug 2009 17:19:02 -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 22807 invoked by uid 99); 28 Aug 2009 17:19:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Aug 2009 17:19:02 +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 (athena.apache.org: domain of Musomesa@aol.com designates 64.12.100.31 as permitted sender) Received: from [64.12.100.31] (HELO imr-ma05.mx.aol.com) (64.12.100.31) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Aug 2009 17:18:50 +0000 Received: from imo-ma02.mx.aol.com (imo-ma02.mx.aol.com [64.12.78.137]) by imr-ma05.mx.aol.com (8.14.1/8.14.1) with ESMTP id n7SHIFsB015259 for ; Fri, 28 Aug 2009 13:18:15 -0400 Received: from Musomesa@aol.com by imo-ma02.mx.aol.com (mail_out_v42.5.) id t.d41.49ec1350 (55766) for ; Fri, 28 Aug 2009 13:18:11 -0400 (EDT) Received: from smtprly-mc01.mx.aol.com (smtprly-mc01.mx.aol.com [64.12.95.97]) by cia-md05.mx.aol.com (v124.15) with ESMTP id MAILCIAMD057-d3c94a98114f16d; Fri, 28 Aug 2009 13:18:10 -0400 Received: from webmail-d064 (webmail-d064.sim.aol.com [205.188.59.129]) by smtprly-mc01.mx.aol.com (v125.7) with ESMTP id MAILSMTPRLYMC013-d3c94a98114f16d; Fri, 28 Aug 2009 13:18:07 -0400 References: <981637c10908280737q20b710b3l633687e53eae4718@mail.gmail.com> <4A97FEC3.3000304@yahoo.it> <8CBF61084F544B8-2BE8-5EBD@webmail-d064.sysops.aol.com> <4A980EDA.2060001@yahoo.it> To: user@struts.apache.org Subject: Re: Struts 2 X-MB-Message-Source: WebUI MIME-Version: 1.0 From: musomesa@aol.com X-MB-Message-Type: User Content-Type: multipart/alternative; boundary="--------MB_8CBF61AA4E89916_2BE8_E17E_webmail-d064.sysops.aol.com" X-Mailer: AOL Webmail 44148-STANDARD Received: from 70.153.131.163 by webmail-d064.sysops.aol.com (205.188.59.129) with HTTP (WebMailUI); Fri, 28 Aug 2009 13:18:07 -0400 Message-Id: <8CBF61AA4E174F0-2BE8-6E63@webmail-d064.sysops.aol.com> X-AOL-SENDER: Musomesa@aol.com X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Flag: NO ----------MB_8CBF61AA4E89916_2BE8_E17E_webmail-d064.sysops.aol.com Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii" Wasn't being picky -- the single versus double quote rules in OGNL for single character Strings versus chars often trip people up at places like Chris -----Original Message----- From: Luca To: Struts Users Mailing List Sent: Fri, Aug 28, 2009 1:07 pm Subject: Re: Struts 2 His status is a char.? >? >? > >? >? > Chris? >? > >? >? > >? > -----Original Message-----? > From: Luca ? > To: Struts Users Mailing List ? > Sent: Fri, Aug 28, 2009 11:58 am? > Subject: Re: Struts 2 ? >? >? >? >? >? >? >? >? > Hi, do you try to check that the methods in the Action class match the > beans name conventions??? > ?? >? > For example, in your case I'm thinking this situation:?? > ?? >? > private String status;?? > ?? >? > public void *setStatus*(String status){?? >? > ? this.status = status;?? >? > }?? > ?? >? > public String *getStatus*(){?? >? > ? return this.status;?? >? > }?? > ?? >? > I use the same convention as you, and it works fine for me :-)?? > ?? >? > bye, Luca?? > ?? >? > Sonu S ha scritto:?? >? > >> Hi,?? >> >? > >> ?? >> >? > >> i am using struts 2. i want to check some condition in my jsp and based on?? >> >? > >> result i want to perform some task.?? >> >? > >> ?? >> >? > >> i have written?? >> >? > >> ?? >> >? > >> ?? >> >? > >> //DO something?? >> >? > >> ?? >> >? > >> ?? >> >? > >> // Do Something else?? >> >? > >> ?? >> >? > >> ?? >> >? > >> for this i have created one hidden field also in JSP named status and have?? >> >? > >> getter and setter method in Action class.?? >> >? > >> ?? >> >? > >> but things are not working as expected. Even if status is Y it always?? >> >? > >> execute ELSE part. please let me what i am doing wrong.?? >> >? > >> ?? >> >? > >> thanks?? >> >? > >> ?? >> >? > >> >> ------------------------------------------------------------------------?? >> >? > >> ?? >> >? > >> ?? >> >? > >> Nessun virus nel messaggio in arrivo.?? >> >? > >> Controllato da AVG - www.avg.com >> Versione: 8.5.409 / Database dei virus: 270.13.71/2330 - Data di rilascio: 08/27/09 18:02:00?? >> >? > >> ?? >> >? > >> >> >? >? > >? >? > > ------------------------------------------------------------------------? >? >? > Nessun virus nel messaggio in arrivo.? > Controllato da AVG - www.avg.com > Versione: 8.5.409 / Database dei virus: 270.13.71/2331 - Data di rilascio: 08/28/09 06:26:00? >? > ? ---------------------------------------------------------------------? To unsubscribe, e-mail: user-unsubscribe@struts.apache.org? For additional commands, e-mail: user-help@struts.apache.org? ? ----------MB_8CBF61AA4E89916_2BE8_E17E_webmail-d064.sysops.aol.com--