You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Anup Niroula <an...@gmail.com> on 2011/01/28 20:24:03 UTC

Help needed on apache tomcat 7.0

hi,

Actually, i am trying to include jar file in apache tomcat server so that i
can access the classes of the jar file to use it in my jsp pages (web
application). How can i do this ? Any help would be appreciated.

Regards,
Anup Niroula

Re: Help needed on apache tomcat 7.0

Posted by Anup Niroula <an...@gmail.com>.
Thanx

On Fri, Jan 28, 2011 at 2:21 PM, Caldarale, Charles R <
Chuck.Caldarale@unisys.com> wrote:

> > From: Anup Niroula [mailto:anup.niroula@gmail.com]
> > Subject: Re: Help needed on apache tomcat 7.0
>
> > could you please tell me where can i find examples of
> > web applications importing classes from jar file ?
>
> In several of the example webapps that come with the Tomcat distribution.
>  Look in webapps/examples.
>
>  - Chuck
>
>
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
> MATERIAL and is thus for use only by the intended recipient. If you received
> this in error, please contact the sender and delete the e-mail and its
> attachments from all computers.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

RE: Help needed on apache tomcat 7.0

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Anup Niroula [mailto:anup.niroula@gmail.com] 
> Subject: Re: Help needed on apache tomcat 7.0

> could you please tell me where can i find examples of
> web applications importing classes from jar file ?

In several of the example webapps that come with the Tomcat distribution.  Look in webapps/examples.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Help needed on apache tomcat 7.0

Posted by Anup Niroula <an...@gmail.com>.
Hi,
Thank you for the reply. I am new to JSP and i am using tomcat server 7.0
for the first time. could you please tell me where can i find examples of
web applications importing classes from jar file ?


On Fri, Jan 28, 2011 at 1:46 PM, Caldarale, Charles R <
Chuck.Caldarale@unisys.com> wrote:

> > From: Anup Niroula [mailto:anup.niroula@gmail.com]
> > Subject: Help needed on apache tomcat 7.0
>
> > Actually, i am trying to include jar file in apache tomcat
> > server so that i can access the classes of the jar file to
> > use it in my jsp pages (web application). How can i do this ?
>
> Long answer: read the servlet spec; it details exactly what the structure
> of a webapp is, including where to place jar files for the webapp.  Short
> answer: in your webapp's WEB-INF/lib directory.
>
>  - Chuck
>
>
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
> MATERIAL and is thus for use only by the intended recipient. If you received
> this in error, please contact the sender and delete the e-mail and its
> attachments from all computers.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

RE: Help needed on apache tomcat 7.0

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Anup Niroula [mailto:anup.niroula@gmail.com] 
> Subject: Help needed on apache tomcat 7.0

> Actually, i am trying to include jar file in apache tomcat 
> server so that i can access the classes of the jar file to
> use it in my jsp pages (web application). How can i do this ?
 
Long answer: read the servlet spec; it details exactly what the structure of a webapp is, including where to place jar files for the webapp.  Short answer: in your webapp's WEB-INF/lib directory.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org