File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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
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
Rohit Ahuja
Ranch Hand

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


Face Off.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Where do i have to put my beans in Tomcat?