Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 72483 invoked from network); 16 May 2005 18:51:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 16 May 2005 18:51:39 -0000 Received: (qmail 33511 invoked by uid 500); 16 May 2005 15:30:04 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 33429 invoked by uid 500); 16 May 2005 15:30:03 -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 33382 invoked by uid 99); 16 May 2005 15:30:02 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from mldlu1.aeroxchange.org (HELO mldlu1.aeroxchange.org) (65.216.227.20) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 16 May 2005 08:29:53 -0700 Received: from aeromail01.AEROXCHG.COM (aeromail01.aeroxchg.com [192.168.0.65]) by mldlu1.aeroxchange.org (8.12.11/8.12.11) with ESMTP id j4GGNQgx006353 for ; Mon, 16 May 2005 11:23:26 -0500 (envelope-from Abdullah.Jibaly@aeroxchange.com) X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: Getting name of form bean? Date: Mon, 16 May 2005 10:29:31 -0500 Message-ID: <032967A67835C048BDC523C44ECBAE18E724EB@aeromail01.aeroxchg.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Getting name of form bean? Thread-Index: AcVaGSjo15SJx4s5SwWGlF8Emvz8TgAEjwlw From: "Abdullah Jibaly" To: "Struts Users Mailing List" , X-PMX-Version: 4.7.1.128075 X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N John, There is no automatic way AFAIK. What I've done is in the action that = passes the request to the form I set: request.setAttribute("formName", mapping.getName()); then, in the JSP I can do: -Abdullah -----Original Message----- From: John Moore [mailto:john@jmsd.co.uk] Sent: Monday, May 16, 2005 7:09 AM To: Struts Mailing List Subject: Getting name of form bean? In a JSP which uses html:form, is there any way of determining the name=20 of the form bean (assuming it's been set in the mapping, of course, not=20 in the html:form tag!). TIA --=20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D John Moore - Norwich, UK - john@jmsd.co.uk =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org