Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 65522 invoked from network); 2 Jul 2009 15:30:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 2 Jul 2009 15:30:48 -0000 Received: (qmail 18506 invoked by uid 500); 2 Jul 2009 15:30:55 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 18448 invoked by uid 500); 2 Jul 2009 15:30:55 -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 18406 invoked by uid 99); 2 Jul 2009 15:30:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jul 2009 15:30:54 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: 216.193.128.24 is neither permitted nor denied by domain of ezjab@ieee.org) Received: from [216.193.128.24] (HELO smtp.enter.net) (216.193.128.24) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jul 2009 15:30:43 +0000 Received: from smtp.enter.net (mail.enter.net [216.193.128.40]) by smtp.enter.net (Postfix) with ESMTP id C9BD9CC46B for ; Thu, 2 Jul 2009 11:30:22 -0400 (EDT) Received: from [192.168.0.101] (dhcp-207-157.dsl.enter.net [216.193.157.207]) by smtp.enter.net (Postfix) with ESMTP id 61C8ECC422 for ; Thu, 2 Jul 2009 11:30:20 -0400 (EDT) Message-ID: <4A4CD6C1.3060200@ieee.org> Date: Thu, 02 Jul 2009 11:48:17 -0400 From: Jim Anderson User-Agent: Thunderbird 1.5.0.14pre (X11/20071023) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Cannot find any information on property 'x' in a bean of type 'bfs.beans.BFSInfo' References: <4A4C2898.9060102@ieee.org> <427155180907020229x2586f77eyd93fbe8980c7faef@mail.gmail.com> In-Reply-To: <427155180907020229x2586f77eyd93fbe8980c7faef@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Enter.Net Vscan V2.1 X-Virus-Checked: Checked by ClamAV on apache.org Konstantin, Thank you. That did the trick. I kind of guessed it was that sort of problem, but could not find it in documentation of the book that I'm using. Jim Konstantin Kolinko wrote: > 2009/7/2 Jim Anderson : > >> Hi, >> >> I'm running tomcat 6.0.18 on Linux and I'm having a problem running >> a javabean. I created a bean and was able to call setProperty and >> getProperty >> for the property 'startPage' in the bean. When I added a 2nd property >> to the bean, I got the following message: >> >> org.apache.jasper.JasperException: Cannot find any information on property >> 'midContent' in a bean of type 'bfs.beans.BFSInfo' >> >> The setter and getter methods were copied and pasted from 'startPage' so >> they >> should have worked. I checked the spelling of the new property 'midContent' >> VERY >> carefully and I'm sure there was not a spelling error. >> >> I experimented and found that no matter what name I gave the new property, >> it >> would not work with the getter and setter methods. In the jsp code, my >> getter >> and setter methods for 'startPage' continued to work. I decided to rename >> the property to 'sPage'. I did this, recompiled the source, rebuilt the jar >> file >> and placed it the web library. I ran the jsp page again and found that >> getProperty >> on 'sPage' failed, but if I changed 'sPage' back to 'startPage', the jsp >> page >> worked. >> >> It looks like tomcat is still is finding an old jar file or has cached a >> reference >> to the old library. >> >> > > It looks like you have not restarted (reloaded) your web application. > > One of the ways to do so in development mode is to touch your > WEB-INF/web.xml (or any other WatchedResource if those are configured). > > Another way is to use the Tomcat Manager web application. > http://tomcat.apache.org/tomcat-6.0-doc/html-manager-howto.html > http://tomcat.apache.org/tomcat-6.0-doc/manager-howto.html > > > Best regards, > Konstantin Kolinko > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org > > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org