I have compiled 'myBean' into a 'package' and in the
JSP page I import the package with
%@ page import=package.* %
jsp:useBean id=myid class=myBean /
The bean is located in
tomcat-install\webapps\ROOT\WEB-INF\classes\package
directory and the JSP page is located in the ROOT
directory.
The
: Percival Bragg [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 29, 2003 5:19 PM
To: Tomcat-Users-Group
Subject: More Help With Beans Please
I have compiled 'myBean' into a 'package' and in the
JSP page I import the package with
%@ page import=package.* %
jsp:useBean id=myid class=myBean /
The bean
To: Tomcat-Users-Group
Subject: More Help With Beans Please
I have compiled 'myBean' into a 'package' and in the
JSP page I import the package with
%@ page import=package.* %
jsp:useBean id=myid class=myBean /
The bean is located in
tomcat-install\webapps\ROOT\WEB-INF\classes\package
that is correct.
the import directive can used when using code like this
%
MyBean bean = new MyBean();
%
-Original Message-
From: Percival Bragg [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 29, 2003 6:26 PM
To: Tomcat Users List
Subject: RE: More Help With Beans Please