tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ranko Bijelonic" <ra...@dietsmart.com>
Subject RE: aaargh..
Date Wed, 15 Nov 2000 17:55:08 GMT
not an ejb, right, just a bean?  and what is your bean here? pbrowse?

> for the past 3 days i've been trying to get a jsp to work with an ejb of

-----Original Message-----
From: Danno Ferrin [mailto:shemnon@earthlink.net]
Sent: Wednesday, November 15, 2000 12:00 PM
To: tomcat-user@jakarta.apache.org
Subject: Re: aaargh..


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 <jsp:setProperty ..../> and <jsp:getProperty
> ...../> won't work.
>
> tomcat reports: org.apache.jasper.JasperException: Attempted a bean
> operation on a null object.
>         at
>
org.apache.jasper.runtime.JspRuntimeLibrary.handleGetProperty(JspRuntimeLibr
ary.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.
>
>
>
>



Mime
View raw message