Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 77776 invoked from network); 19 Jul 2007 14:02:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Jul 2007 14:02:09 -0000 Received: (qmail 6341 invoked by uid 500); 19 Jul 2007 14:01:37 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 6319 invoked by uid 500); 19 Jul 2007 14:01:36 -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 6308 invoked by uid 99); 19 Jul 2007 14:01:36 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Jul 2007 07:01:36 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Jul 2007 07:01:32 -0700 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1IBWZ5-0001vD-TQ for user@struts.apache.org; Thu, 19 Jul 2007 07:01:11 -0700 Message-ID: <11689824.post@talk.nabble.com> Date: Thu, 19 Jul 2007 07:01:11 -0700 (PDT) From: sdeepak To: user@struts.apache.org Subject: @Element annotation MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: deepaksrivastav@gmail.com X-Virus-Checked: Checked by ClamAV on apache.org Hi all, Does any one know how to use @Element annotations. Instead of using the -conversion.properties file. I tried using it as shown below: @Element(value=com.utils.Person.class) private List persons; But it gives a NullPointerException whenever i submit the form. But with the properties file this works fine. I am using JDK 6. Any ideas what is happening here? Regards, Deeepak -- View this message in context: http://www.nabble.com/%40Element-annotation-tf4111247.html#a11689824 Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org