And if you jarred the bean you would put the .jar file into
Tomcat/webapps/mySite/WEB-INF/lib.  Without the .jar you could just put
the .class file into Tomcat/webapps/mySite/WEB-INF/classes/Beans (the
package directory structure starts from the WEB-INF/classes directory).

There are bunches of posts on this mailing list about where to put your
.jar and .class files (do a search on the archives for "classpath" for a
start).

Roger Whitcomb 
Computer Associates 
Senior Software Engineer 
Development 
Phone: +1 408 965 8653 
FAX: +1 408 965 8805 
[EMAIL PROTECTED] < mailto:[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> > 


-----Original Message----- 
From: Power-Netz (Schwarz) [ mailto:[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> ] 
Sent: Monday, July 22, 2002 9:01 AM 
To: Tomcat Users List 
Subject: AW: Reposting Bean question 


> 
> I posted this question, but no one responded before, so here it is
again: 

maybe , because you didn't even tell us, which system / releases you
use? 

> mySite folder jarred the bean with it's mainfest.  Now I'm getting a 
> ClassNotFoundException and a list of packages where it must be 
> looking for 


As far as i use beans, you have to put your bean.class in your
classpath. 
normally in WEB-INF/classes/ 

cu 


-- 
To unsubscribe, e-mail:   <
mailto:[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> > 
For additional commands, e-mail: <
mailto:[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> > 

Reply via email to