aspose file tools*
The moose likes JSP and the fly likes Where  do i have to put my beans in Tomcat? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Where  do i have to put my beans in Tomcat?" Watch "Where  do i have to put my beans in Tomcat?" New topic
Author

Where do i have to put my beans in Tomcat?

maher dabbas
Greenhorn

Joined: Dec 02, 2001
Posts: 26
Hi.
I'm using Tomcat 4.0.1 , and i developed a web application with
some jsp's and beans. the problem is , when i put the beans in
myapplication/web-inf/classes, tomcat is not seeing them, and an
error message,noClassDefFound appears.
But when i put my beans in CATALINE_HOME/classes, it works.
Any suggestion?
Regards.
Maher.
James Hobson
Ranch Hand

Joined: Aug 28, 2001
Posts: 140
One sugestion is that web-inf should be WEB-INF
Deepak A
Ranch Hand

Joined: Oct 04, 2001
Posts: 120
webapps/web-inf/packagename/classname.


Face Off.
 
 
subject: Where do i have to put my beans in Tomcat?
 
Similar Threads
Migration to JBoss from Oracle 9iAS
Tomcat classes in jar in libs doesn't work
How to get modified classes/resources reloaded from JARs
Problem with tomcat4.0
JSP's and class files.....