tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From William Brogden <wbrog...@bga.com>
Subject Re: aaargh..
Date Wed, 15 Nov 2000 16:21:33 GMT


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(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.

In your useBean tag, did you give the complete package when naming the
class?
If you just give the class, the bean will not be created.

-- 
WBB - wbrogden@bga.com
Author of Java Developer's Guide to Servlets and JSP 
ISBN 0-7821-2809-2

Mime
View raw message