This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
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

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "location of class file" Watch "location of class file" New topic

location of class file

pax smith
Ranch Hand

Joined: Dec 13, 2005
Posts: 45

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

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.

Consultant, Sima Solutions
I agree. Here's the link:
subject: location of class file
It's not a secret anymore!