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 22994 invoked from network); 15 Nov 2000 16:32:33 -0000 Received: from hmbg-3e36c448.pool.mediaways.net (HELO server01.hh.uptime-isc.de) (62.54.196.72) by locus.apache.org with SMTP; 15 Nov 2000 16:32:33 -0000 Received: by server01.hh.uptime-isc.de with Internet Mail Service (5.5.1960.3) id ; Wed, 15 Nov 2000 17:32:22 +0100 Message-ID: From: Ralph Einfeldt To: "'tomcat-user@jakarta.apache.org'" Subject: AW: Accessing Beans; was: aaargh.. Date: Wed, 15 Nov 2000 17:32:11 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.1960.3) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N You are mixing to different things. works on beans. In JSP beans have to be declared and created with the tag. So your p is not a bean to JSP. To change this you have to use the tag. Otherwise the only way to access it, is to=20 use it in expressions <%=3D p.someMethod() %> or=20 scriptlets <% p.anotherMethod(); %> > -----Urspr=FCngliche Nachricht----- > Von: Alexander ten Bruggencate [mailto:a.ten.bruggencate@home.nl] > Gesendet: Mittwoch, 15. November 2000 16:58 > An: tomcat-user > Betreff: aaargh.. > the only problem is that and ..../> won't work. > part of the jsp file: > <% > nl.step.stepdb.person.interfaces.Person p; > p =3D pbrowse.createUser(); > %>