At 02:01 AM 4/11/2001, you wrote:
Hmm...then I'm not sure what's going on...so is there a package statement in
InfoBean?
In my experience if the bean is not in a package (i.e. not in the top-level
package) the bean won't work.
As for a setting in tomcat, I don't think you have to set
Have you tried to use the build script, and build.xml? This will prepare
your webapps directory properly, put the class files in the correct
(expected) place, and you don't need to screw around with the CLASSPATH.
Makes life simpler: after the preparation outlined below, you just
execute "#
I was getting those but it was because my bean didn't have a constructor
that took no args but it looks like yours does...
Not sure...
Hunter
From: "Brandon Cruz" [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
Date: Tue, 10 Apr 2001 17:54:24 -0500
To: [EMAIL PROTECTED]
Subject:
User List
Subject: Re: Instantiating Beans on Tomcat
I was getting those but it was because my bean didn't have a constructor
that took no args but it looks like yours does...
Not sure...
Hunter
From: "Brandon Cruz" [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
Date: Tue, 10 Apr 200
Two questions:
1. Where did you put your compiled bean?
2. Did you try putting SOMETHING in the constructor -- maybe
System.out.println("I'm here"); or something like that
-Original Message-
From: Brandon Cruz [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 10, 2001 3:54 PM
To: [EMAIL
for some reason. I
am very confused by it.
Brandon
-Original Message-
From: Jann VanOver [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 10, 2001 6:33 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Instantiating Beans on Tomcat
Two questions:
1. Where did you put your compiled bean?
2. Did
I put my beans into tomcat_home/webapps/myContext/WEB-INF/classes and have
no problem. Have you tried that?
-Original Message-
From: Brandon Cruz [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 10, 2001 4:39 PM
To: [EMAIL PROTECTED]
Subject: RE: Instantiating Beans on Tomcat
I have my
PROTECTED]]
Sent: Tuesday, April 10, 2001 6:38 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Instantiating Beans on Tomcat
Is InfoBean in a package? If it is, you need to put the fully-qualified name
in the class= attribute.
It could also be a classpath issue. For example, if your jsp sits at
/jakarta-tomcat
[mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 10, 2001 6:38 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Instantiating Beans on Tomcat
Is InfoBean in a package? If it is, you need to put the fully-qualified name
in the class= attribute.
It could also be a classpath issue. For example, if your jsp sits