In JWS, put the jar file (make sure it actually has a .jar extension, .zip
won't work) in the <server_root>/lib directory. JWS will automatically use
it, but you don't get the automatic reload feature that .class files in the
servlets directory get.
(*Chris*)
----- Original Message -----
From: Matt Adam Tucker <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, June 21, 1999 1:41 PM
Subject: Re: JAR'ed servlets
> Galen,
>
> The trick is that you have to put the jar file in the classpath of the
> servlet engine and probably not just in the servlet directory. This is
> pretty confusing and it can be a pain to figure out where jar file will
> actually work in your servlet engine. I believe that a forthcoming servlet
> spec will have a better answer to this problem.
>
> Good luck!
> -Matt Tucker
>
> On Mon, 21 Jun 1999, Galen Wilkerson wrote:
>
> > Hi,
> >
> > I see you both answered questions about jar files and servlets on
> > [EMAIL PROTECTED]
> >
> > Would you mind answering a simple question:
> >
> > How do you run a jarred servlet?
> >
> > I have jarred the class file (which ran fine unjarred), and put the jar
> > file in the appropriate
> > servlet\ directory. Do I have to mess with the manifest?
> >
> > thanks,
> > Galen
> >
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html