----- Original Message -----
From: Kevin Baynes <[EMAIL PROTECTED]>


> I've packaged my servlets (com.seagull.swm.ServletName) and installed and
> run them successfully in Tomcat and WebSphere.
>
> Can I JAR the package and place it in the classes folder?

No you cannot.

> I've tried this
> without success in Tomcat...
> is this possible or is there a trick I don't
> know?

The classes folder (WEB-INF/classes) is meant to keep classes without
jaring.
If you want to create  a jar and keep, then keep the jar in the folder
WEB-INF/lib
The name of the jar file does not matter.

This is no trick and should be the expected behaviour on all spec compliant
servlet containers. This behaviour is very clearly mandated by the servlet
specifications.

Regds,
Gokul

>
> --------------------
> Kevin Baynes
> Software Engineer
> [EMAIL PROTECTED]
> 703-393-2191


-----------------------------------------------------------------------------------------------------------------------
Information transmitted by this E-MAIL is proprietary to Wipro Limited and
is intended for use only by the individual or entity to which it is
addressed, and may contain information that is privileged, confidential or
exempt from disclosure under applicable law. If you are not the intended
recipient or it appears that this mail has been forwarded to you without
proper authority, you are notified that any use or dissemination of this
information in any manner is strictly prohibited. In such cases, please
notify us immediately at mailto:[EMAIL PROTECTED] and delete this mail
from your records.
------------------------------------------------------------------------------------------------------------------------

Reply via email to