*
The moose likes Struts and the fly likes location of class file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "location of class file" Watch "location of class file" New topic
Author

location of class file

pax smith
Ranch Hand

Joined: Dec 13, 2005
Posts: 45
Hi

I am using servlet and JSP (NO struts , ejb etc.). And I am using Tomcat 5.0. Can I place class files in the folder other than WEB-INF/classes


Thanks
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
You also have the option of putting classes into a jar file and then placing the jar file in WEB-INF/lib.

In addition to this, almost all Application servers have a place to put jar files that are shared between all applications running on a particular server instance. With Tomcat, it's in the directory shared/lib under your server instance. For more information, see the Tomcat documentation or post his question on the Tomcat forum.


Merrill
Consultant, Sima Solutions
 
Don't get me started about those stupid light bulbs.
 
subject: location of class file