Return-Path: Delivered-To: apmail-struts-dev-archive@www.apache.org Received: (qmail 93707 invoked from network); 5 Nov 2010 18:10:27 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 5 Nov 2010 18:10:27 -0000 Received: (qmail 78747 invoked by uid 500); 5 Nov 2010 18:10:58 -0000 Delivered-To: apmail-struts-dev-archive@struts.apache.org Received: (qmail 78708 invoked by uid 500); 5 Nov 2010 18:10:58 -0000 Mailing-List: contact dev-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Developers List" Reply-To: "Struts Developers List" Delivered-To: mailing list dev@struts.apache.org Received: (qmail 78699 invoked by uid 99); 5 Nov 2010 18:10:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Nov 2010 18:10:58 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of davelnewton@gmail.com designates 209.85.215.48 as permitted sender) Received: from [209.85.215.48] (HELO mail-ew0-f48.google.com) (209.85.215.48) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Nov 2010 18:10:49 +0000 Received: by ewy3 with SMTP id 3so1957841ewy.35 for ; Fri, 05 Nov 2010 11:10:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:received :in-reply-to:references:date:message-id:subject:from:to:content-type; bh=mlkgdxclsZX9JHxgSNpyTuG5A+HVQt8mwjn7xtP25bU=; b=mlEAEiXjSWqzN0D4enLlxFFaeOIHLz4NrXVsWUaQTqv7L7lAvZo/aeZ0BYhzNyNOQv VriYQefjbjCqZeuDp0juw6yUw/Xq8FqZAhDmxZ0RxwPfEl4o0pn/ijG2htPajlDI1QuL QS4sft+hpu6H7NYgQ6KQtG2c1M4CpgcFxSxiI= 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=FPQ+g+twfJ8acIuXcw1dNk9llTli73lLUSJTyEQwLaZMOzuYFzEM+fMWSI40YD82if K6ZVseDvFcJfEvbwWbq6VzJW7XNFINyo+Im1ztpvShEVj93QfPSciW3uWxf/7VPeJX4n QSqoMHD2SpabTpg2o55A0TS6C8mFGSwVFLKRs= MIME-Version: 1.0 Received: by 10.213.4.67 with SMTP id 3mr1741996ebq.79.1288980629131; Fri, 05 Nov 2010 11:10:29 -0700 (PDT) Received: by 10.213.2.134 with HTTP; Fri, 5 Nov 2010 11:10:29 -0700 (PDT) Received: by 10.213.2.134 with HTTP; Fri, 5 Nov 2010 11:10:29 -0700 (PDT) In-Reply-To: References: Date: Fri, 5 Nov 2010 14:10:29 -0400 Message-ID: Subject: Re: Struts 1.3 action form From: Dave Newton To: Struts Developers List Content-Type: multipart/alternative; boundary=0015174c12b885931204945230b1 X-Virus-Checked: Checked by ClamAV on apache.org --0015174c12b885931204945230b1 Content-Type: text/plain; charset=ISO-8859-1 Are you using the Struts form tag? Does the Person class expose its attributes through getters and setters? Dave On Nov 5, 2010 12:42 PM, "Abhishek Agarwal" wrote: > It's killing me. > > I am unable to use a pojo(simple java class akin Employee or Person) > in my struts 1.3 ActionForm as a formbean's property. I am referring > complete reference second edition, and I see in it, it has been > mentioned that owing to java's reflection one can use the nested > properties in formbeans. > > But when I use it, and try to access it in the form's input jsp page, > then I get this exception: > > org.apache.jasper.JasperException: javax.servlet.ServletException: > javax.servlet.jsp.JspException: Invalid argument looking up property > > Actually I created a Person property named "p" for my form, and this > Person class has certain attributes, one of them being, > firstName(String). > When I create a form for taking this firstName as input, by using: > inside
, it > gives the above mentioned exception. > I even tried the nested tag library tag for the same, but it i also > having the same problem. > > Mercy, please. :( > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org > For additional commands, e-mail: dev-help@struts.apache.org > --0015174c12b885931204945230b1--