You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Dino Cherian K <in...@yahoo.com> on 2002/02/18 15:47:39 UTC

Re: Reposting [INIMSS] How can I load a custom jar file for a par ticular web application. [a newbie question]

Hi 

But where should I put them, in "WEB-INF/classes" or "WEB-INF/lib"

Thank You
Dino Cherian K

On Tuesday 19 February 2002 19:23, you wrote:
>  Just reference them as normal. Ie ClassA.ClassA1.class
>
>  There's no magic involved...
>  Donie
>
>  -----Original Message-----
>  From: Dino Cherian K [mailto:inimss@yahoo.com]
>  Sent: 18 February 2002 13:04
>  To: Tomcat Users List
>  Subject: Re: Reposting [INIMSS] How can I load a custom jar file for a
>  particular web application. [a newbie question]
>
>  Hi
>
>  Ya it worked. Thanks
>
>  What if the thirdparty library is available as classes in a heirarchy.
> That is they are arranged in folder structure.
>
>  Like
>
>          + ClassA
>
>          |  ClassA1.class
>          |  ClassA2.class
>
>          + ClassB
>
>          |  ClassB1.class
>          |  ClassB3.class
>
>          + ClassC.class
>
>
>  Thanks
>  Dino Cherian K
>
>  On Tuesday 19 February 2002 16:30, you wrote:
>  >  Putting the jar file in the ${TOMCAT_HOME}/webapps/yourapp/WEB-INF/libs
>  > directory will do the job.
>  >
>  >  -----Original Message-----
>  >  From: Dino Cherian K [mailto:inimss@yahoo.com]
>  >  Sent: 18 February 2002 08:17
>  >  To: tomcat-user@jakarta.apache.org
>  >  Subject: Reposting [INIMSS] How can I load a custom jar file for a
>  >  particular web application. [a newbie question]
>  >
>  >
>  >  Hi
>  >
>  >  Please help me ASAP.
>  >
>  >  I am having a third party jar file that is to be loaded from jsp pages
>  > to attain some task. The particular jar file is to be used only buy one
>  > web application. Where should I place the files and what all should I
>  > modify to make it work?
>  >
>  >  I am using tomcat 3.3 and  apache-1.3.19-5 on RedHat Linux 7.1.
>  >
>  >  Thanks
>  >  Dino CK
>  >
>  >
>  >  --
>  >  To unsubscribe:   <ma...@jakarta.apache.org>
>  >  For additional commands: <ma...@jakarta.apache.org>
>  >  Troubles with the list: <ma...@jakarta.apache.org>
>  >
>  >
>  >
>  >
>  >  ***************************************************************
>  >       This email/attachment(s) has been virus checked upon
>  >       receipt at the OS and is free of all known viruses.
>  >  ***************************************************************
>  >
>  >
>  >
>  >
>  >
>  >
>  >  ***************************************************************
>  >  For more information on Ordnance Survey products and services,
>  >  visit our web site at http://www.ordnancesurvey.co.uk
>  >  ***************************************************************
>  >
>  >
>  >
>  >
>  >  --
>  >  To unsubscribe:   <ma...@jakarta.apache.org>
>  >  For additional commands: <ma...@jakarta.apache.org>
>  >  Troubles with the list: <ma...@jakarta.apache.org>
>
>  --
>  To unsubscribe:   <ma...@jakarta.apache.org>
>  For additional commands: <ma...@jakarta.apache.org>
>  Troubles with the list: <ma...@jakarta.apache.org>
>
>  --
>  To unsubscribe:   <ma...@jakarta.apache.org>
>  For additional commands: <ma...@jakarta.apache.org>
>  Troubles with the list: <ma...@jakarta.apache.org>

--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


RE: Reposting [INIMSS] How can I load a custom jar file for a par ticular web application. [a newbie question]

Posted by Ricky Leung <ri...@booksense.com>.
depends, .class files go in the classes dir and .jar files goes in the lib
dir.

-----Original Message-----
From: Dino Cherian K [mailto:inimss@yahoo.com]
Sent: Monday, February 18, 2002 9:48 AM
To: Tomcat Users List
Subject: Re: Reposting [INIMSS] How can I load a custom jar file for a
par ticular web application. [a newbie question]


Hi

But where should I put them, in "WEB-INF/classes" or "WEB-INF/lib"

Thank You
Dino Cherian K

On Tuesday 19 February 2002 19:23, you wrote:
>  Just reference them as normal. Ie ClassA.ClassA1.class
>
>  There's no magic involved...
>  Donie
>
>  -----Original Message-----
>  From: Dino Cherian K [mailto:inimss@yahoo.com]
>  Sent: 18 February 2002 13:04
>  To: Tomcat Users List
>  Subject: Re: Reposting [INIMSS] How can I load a custom jar file for a
>  particular web application. [a newbie question]
>
>  Hi
>
>  Ya it worked. Thanks
>
>  What if the thirdparty library is available as classes in a heirarchy.
> That is they are arranged in folder structure.
>
>  Like
>
>          + ClassA
>
>          |  ClassA1.class
>          |  ClassA2.class
>
>          + ClassB
>
>          |  ClassB1.class
>          |  ClassB3.class
>
>          + ClassC.class
>
>
>  Thanks
>  Dino Cherian K
>
>  On Tuesday 19 February 2002 16:30, you wrote:
>  >  Putting the jar file in the
${TOMCAT_HOME}/webapps/yourapp/WEB-INF/libs
>  > directory will do the job.
>  >
>  >  -----Original Message-----
>  >  From: Dino Cherian K [mailto:inimss@yahoo.com]
>  >  Sent: 18 February 2002 08:17
>  >  To: tomcat-user@jakarta.apache.org
>  >  Subject: Reposting [INIMSS] How can I load a custom jar file for a
>  >  particular web application. [a newbie question]
>  >
>  >
>  >  Hi
>  >
>  >  Please help me ASAP.
>  >
>  >  I am having a third party jar file that is to be loaded from jsp pages
>  > to attain some task. The particular jar file is to be used only buy one
>  > web application. Where should I place the files and what all should I
>  > modify to make it work?
>  >
>  >  I am using tomcat 3.3 and  apache-1.3.19-5 on RedHat Linux 7.1.
>  >
>  >  Thanks
>  >  Dino CK
>  >
>  >
>  >  --
>  >  To unsubscribe:   <ma...@jakarta.apache.org>
>  >  For additional commands: <ma...@jakarta.apache.org>
>  >  Troubles with the list: <ma...@jakarta.apache.org>
>  >
>  >
>  >
>  >
>  >  ***************************************************************
>  >       This email/attachment(s) has been virus checked upon
>  >       receipt at the OS and is free of all known viruses.
>  >  ***************************************************************
>  >
>  >
>  >
>  >
>  >
>  >
>  >  ***************************************************************
>  >  For more information on Ordnance Survey products and services,
>  >  visit our web site at http://www.ordnancesurvey.co.uk
>  >  ***************************************************************
>  >
>  >
>  >
>  >
>  >  --
>  >  To unsubscribe:   <ma...@jakarta.apache.org>
>  >  For additional commands: <ma...@jakarta.apache.org>
>  >  Troubles with the list: <ma...@jakarta.apache.org>
>
>  --
>  To unsubscribe:   <ma...@jakarta.apache.org>
>  For additional commands: <ma...@jakarta.apache.org>
>  Troubles with the list: <ma...@jakarta.apache.org>
>
>  --
>  To unsubscribe:   <ma...@jakarta.apache.org>
>  For additional commands: <ma...@jakarta.apache.org>
>  Troubles with the list: <ma...@jakarta.apache.org>

--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>



--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>