Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 79833 invoked from network); 20 Feb 2007 14:06:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Feb 2007 14:06:58 -0000 Received: (qmail 76276 invoked by uid 500); 20 Feb 2007 14:06:53 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 76239 invoked by uid 500); 20 Feb 2007 14:06:53 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 76228 invoked by uid 99); 20 Feb 2007 14:06:53 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Feb 2007 06:06:53 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of dns4@cornell.edu designates 128.253.83.141 as permitted sender) Received: from [128.253.83.141] (HELO authusersmtp.mail.cornell.edu) (128.253.83.141) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Feb 2007 06:06:41 -0800 Received: from [128.84.26.147] (rrdhcp26-147.redrover.cornell.edu [128.84.26.147]) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.13.1/8.12.10) with ESMTP id l1KE6JwJ006012 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Tue, 20 Feb 2007 09:06:19 -0500 (EST) Message-ID: <45DB0059.70507@cornell.edu> Date: Tue, 20 Feb 2007 09:06:17 -0500 From: David Smith User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Expression Language in JSP and JasperException References: <45DAEAE4.4060500@cornell.edu> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Piotr Kiraga wrote: >> Does com.some.packages.action.LoginActionBean have a public method >> getResult()? The test below effectively translates to: >> >> if (actionBean.getResult() != null) { >> // .... some stuff to do .... >> } > > The problem is that there could be a class that has no property with > name result. In another case there could be another class (bean) that > has such property (than of course it works fine, but at first case > Tomcat throws exception). > Maybe.... but let's keep debugging simple. The expression language is expecting a class conforming to the JavaBeans standard. What does the class "com.some.packages.action.LoginActionBean" look like? --David --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org