Thanks Chuck for your reply.

Well, that javamail.jar in the common/lib is, as far as I know, from the
repository of the Linux server.

Yeah, I think so too. I may need to provide to or I can simply document it
so the client can know what to do.

Regards,
Kevin


2008/10/25 Caldarale, Charles R <[EMAIL PROTECTED]>

> > From: Kevin SeongHyun Lee [mailto:[EMAIL PROTECTED]
> > Subject: How can I use a class in javax package from the jar
> > file in WEB-INF/libinstead of the one in common/lib.
> >
> > it must be designed to work in any Tomcat server
> > with default Tomcat libraries and the server admin
> > also said he has to keep it there.
>
> The javamail.jar file is *not* part of the default Tomcat libraries - your
> sysadmin (or some 3rd-party Tomcat repackager) put it there, thereby
> imposing it on all the webapps for that Tomcat installation.
>
> You may have to provide two versions of your webapp - one with javamail.jar
> included, one without, and let the customer choose which to use based on the
> environment.
>
>  - 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 start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to