See the ClassLoader HOWTO:
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html
specifically:
"Shared - This class loader is the place to put classes and resources that you wish to share across ALL web applications (unless Tomcat internal classes also need access, in which case you should put them in the Common class loader instead). All unpacked classes and resources in $CATALINA_HOME/shared/classes, as well as classes and resources in JAR files under $CATALINA_HOME/lib, are made visible through this class loader."
John
On Wed, 9 Jul 2003 07:50:25 -0700 (PDT), Norris Shelton <[EMAIL PROTECTED]> wrote:
How do you get it access items that are not within the tomcat install. I have tomcat installed locally on c:. There is an additional library located on v: (loose classes and jars). We could not get Tomcat to access these classes.
--- John Turner <[EMAIL PROTECTED]> wrote:__________________________________________________________________
Hmmmm...lots of overlap here.
First, you shouldn't need to do ANYTHING to CLASSPATH for Tomcat 4.1.x and higher, especially messing around with servlet.jar.
Second, as far as where to put your servlets, try the Application Developer's Guide here: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/index.html
as well as the Tomcat FAQ: http://jakarta.apache.org/tomcat/faq/misc.html#invoker
If you want to post a specific scenario, with a specific error message, we can help, but a generic "I've tried everything and nothing ever works" doesn't give us much to go on.
John
On Tue, 08 Jul 2003 15:53:23 -0400, <[EMAIL PROTECTED]> wrote:
> Hi, I have searched instructions and websites with no real
luck on this.
>
> I've used Tomcat in production since some 3.* version but
I've been lost > since after 4.0 about where to put a simple servlet class or
how to > include the servlet.jar so jdk1.4 can see it. I've created
war files as > the admin page seems to want but this doesn't seem to be
working either.
> Tried every class directory I could find and still cant pull
up the > servlet from the web. (I can get the default.jsp pages
though). Tried > making my own servlet directory in the config files, nope,
no luck.
>
> I want to take advantage of any NIO performance enhancements
or other > benefits that 5.* has to offer, please help!
>
> Thanks!
> JW
>
>
http://channels.netscape.com/ns/computing/mcafee/index.jsp?promo=393397> McAfee VirusScan Online from the Netscape Network. > Comprehensive protection for your entire computer. Get your free trial > today! >
---------------------------------------------------------------------> > Get AOL Instant Messenger 5.1 free of charge. Download Now! > http://aim.aol.com/aimnew/Aim/register.adp?promo=380455 > >
---------------------------------------------------------------------> To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
-- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
=====
Norris Shelton Software Engineer Sun Certified Java 1.1 Programmer Appriss, Inc. ICQ# 26487421 AIM NorrisEShelton YIM norrisshelton
__________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
