W3C home > Mailing lists > Public > www-jigsaw@w3.org > March to April 2000

Re: How to specify CLASSPATH for *.jar files used by Servlets

From: Yves Lafon <ylafon@w3.org>
Date: Wed, 29 Mar 2000 15:45:36 +0200 (MET DST)
To: Hari Prasada Rao <rphari@crtc.corp.mot.com>
cc: www-jigsaw@w3.org
Message-ID: <Pine.GSO.4.21.0003291544040.6012-100000@tarantula.inria.fr>
On Wed, 29 Mar 2000, Hari Prasada Rao wrote:

> I have developed a servlet that uses a *.jar file. If I do not include
> this jar file in the -classpath option of JIGSAW  webserver, I am not
> able to execute this servlet. Is it the right way ? Or am I missing
> something.

For now the only option is to add the jar before starting the server, the
servlet classloader only handles classes in a directory, so either you
unpack the jar in the same directory, or you add it in the classpath
first.
Regards,

      /\          - Yves Lafon - World Wide Web Consortium - 
  /\ /  \        Architecture Domain - Jigsaw Activity Leader
 /  \    \/\    
/    \   /  \   http://www.w3.org/People/Lafon - ylafon@w3.org    
Received on Wednesday, 29 March 2000 08:46:29 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:14:07 UTC