Return-Path: Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 29864 invoked from network); 13 Apr 2000 15:36:05 -0000 Received: from unknown (HELO talisker.channelpoint.com) (208.226.244.33) by locus.apache.org with SMTP; 13 Apr 2000 15:36:05 -0000 Received: from earthlink.net (dyn-00-00-168.channelpoint.com [10.96.13.168]) by talisker.channelpoint.com (8.9.3+Sun/8.9.1) with ESMTP id JAA06080 for ; Thu, 13 Apr 2000 09:35:59 -0600 (MDT) Message-ID: <38F5E979.773A41D6@earthlink.net> Date: Thu, 13 Apr 2000 09:36:25 -0600 From: Danno Ferrin X-Mailer: Mozilla 4.6 [en] (WinNT; I) X-Accept-Language: en,pdf MIME-Version: 1.0 To: tomcat-dev@jakarta.apache.org Subject: Re: The plans are to cut a final release of 3.1 this week... References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N The example in 224 is a bug in the bean code. The problem is that you cannot have two types in the getter and setter method of the property, they must be the same type. The Default introspection sees the getBundle and setBundle, but because setBundle uses a java.lang.String to set, and getBundle returns a java.util.ResourceBundle it correctly will not report it as a property. Perhaps if it was a setBundleName and getBundle it would work by creating two different properties, one read-only and another write-only and that would work. This is not a JSP bug but is firmly rooted in JavaBeans. --Danno JamesW@cardsetc.com wrote: > > > I wouldn't exactly call it exhaustive testing, but I was able to run the > > "Radio stations that rock" example taglib with jakarta-tomcat 3.1RC1 with > > the Sun JDK 1.3RC1 on Win2K. > > Bugzilla bug #224 (http://jakarta.apache.org/bugs/show_bug.cgi?id=224) > indicates some possible stability problems with the JSP parser's support of > taglibs. > > I tried to use a tag in my taglib in a JSP page, but the JSP parser > couldn't find a setter for the bundle attribute (despite having a public > void setBundle(String value) method in the class implementing the tag. I > then navigated to the JSP tag example page, which failed to load. > > If I shut down Tomcat and restarted however, and went straight to the JSP > example tag page, those tags load fine (my own one's still fail to > compile). > > This series of events is repeatable if I delete the contents of the working > directory. > > Using Sun JDK 1.2.2 on WinNT 4. > > Regards, > James W. > -------------------------------------------------------------------------- > > Cards etc will be on stand 1161 at CardTech SecurTech in Miami > from 2nd May to 4th May. Look forward to seeing you there! > > -------------------------------------------------------------------------- > This e-mail is from Cards Etc Pty Ltd (ACN: 069 533 302). It may contain > privileged and confidential information. It is intended for the named > recipient(s) only. If you are not an intended recipient, please notify us > immediately by reply e-mail or by phone on +61 2 9212 7773 & delete this > e-mail from your system. > -------------------------------------------------------------------------- > > --------------------------------------------------------------------- > To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org > For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org