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 "# ./buil
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 anyth
wever, in one I was trying to do, I
thought I had the case correct, but I actually had and
that was why I couldn't get it to instantiate.
--Kyle
-Original Message-
From: Brandon Cruz [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 10, 2001 5:48 PM
To: [EMAIL PROTECTED]
Subject: RE: In
petts [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 yo
PROTECTED]
Subject: RE: Instantiating Beans on Tomcat
Yeah, there must be something I'm missing, maybe there's some setting in
tomcat which allows me to use beans or something, but I can't find where
that would be.
Brandon
-Original Message-
From: Hunter Hillegas [mailt
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
hough 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 compil
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 PR
0 PM
To: Tomcat 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: [EM
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: Ins
10 matches
Mail list logo