Wrox Home  
Search P2P Archive for: Go

  Return to Index  

apache_tomcat thread: shared classes


Message #1 by "Steven Shourds" <srs@p...> on Mon, 10 Mar 2003 23:20:09 -0500
I have a set of classes that I want to make available to all applications.

The path is : c:\Tomcat 4.1\shared\classes\org

 I have an app in c:\Tomcat 4.1\webapps\perf\...

How do I use those shared classes in my JSP and Java code under perf? What is the import path? Am I missing something?

Thanks,

Steve
Message #2 by "Davidson, Mark" <MARK.DAVIDSON@s...> on Tue, 11 Mar 2003 01:23:13 -0800
I'm not sure if this is the right way to do it but I put third party JARs in
%CATALINA_HOME%\common\lib. The classes are available for import in the
normal manner to all my webapps. I guess you should create a JAR file
containing your classes and put them in \common\lib.

Hope this helps.

-----Original Message-----
From: Steven Shourds [mailto:srs@p...]
Sent: Tuesday 11 March 2003 04:20
To: Tomcat
Subject: [apache_tomcat] shared classes


I have a set of classes that I want to make available to all applications.

The path is : c:\Tomcat 4.1\shared\classes\org

 I have an app in c:\Tomcat 4.1\webapps\perf\...

How do I use those shared classes in my JSP and Java code under perf? What
is the import path? Am I missing something?

Thanks,

Steve


  Return to Index