File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Murach's Java Servlets and JSP this week in the Servlets forum!
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: location of class file
 
Similar Threads
LinkedList using Generics
interface
Compiler error!
Ration rose - silly question
How to access file in EJB