Return-Path: Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 49770 invoked from network); 15 Nov 2000 17:00:14 -0000 Received: from talisker.channelpoint.com (208.226.244.33) by locus.apache.org with SMTP; 15 Nov 2000 17:00:14 -0000 Received: from earthlink.net (cos-dyn-00-00-168.channelpoint.com [10.96.13.168]) by talisker.channelpoint.com (8.11.0/8.11.0) with ESMTP id eAFGwbP00823 for ; Wed, 15 Nov 2000 09:58:38 -0700 (MST) Message-ID: <3A12C0FF.9010008@earthlink.net> Date: Wed, 15 Nov 2000 09:59:43 -0700 From: Danno Ferrin User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; m18) Gecko/20001108 Netscape6/6.0 X-Accept-Language: en MIME-Version: 1.0 To: tomcat-user@jakarta.apache.org Subject: Re: aaargh.. References: <3A12B270.A885FF1A@home.nl> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N try storing the object p in the page attributes under the name that the setProperty attribute is attempting to modify. setProperty and getProperty cannot function without the objects existing in one of the attributes set. (incidentally the jsp:useBean automatically exports the object to the page attributes, which is why it works seamlessly). --Danno Alexander ten Bruggencate wrote: > for the past 3 days i've been trying to get a jsp to work with an ejb of > mine. > the only problem is that and ...../> won't work. > > tomcat reports: org.apache.jasper.JasperException: Attempted a bean > operation on a null object. > at > org.apache.jasper.runtime.JspRuntimeLibrary.handleGetProperty(JspRuntimeLibrary.java:427) > > part of the jsp file: > <% > nl.step.stepdb.person.interfaces.Person p; > p = pbrowse.createUser(); > %> > > now I KNOW that the creation of the person is succesfull because it > turns up in the datatbase. > so what's wrong here? > > i use jboss-2.0-final with tomcat 3.2b7. > i could really use some help here... > > -Alexander. > > > >