The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
January 2002

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

File Not Found

Posted by Jay on January 24, 2002 at 8:39 AM

In tomcat, all servlet class files go into %TOMCAT_HOME%/webapps/appName/WEB-INF/classes directory. If a servlet accesses a class(es), there are two places you can them.


  1. %TOMCAT_HOME%/webapps/appName/WEB-INF/classes (where the servlet is)


  2. 2. jar your classes that servlet uses and put them in %TOMCAT_HOME%/lib

Any additional path setting is not necessary.




Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us