both classes and lib directories should exist.
you put your servlet classes in the classes directory and
you put your supporting jars in your lib directory.

then you can refer to the servlet as <machine>/<appname>/servlet/ServletName

-----Original Message-----
From: David Knaack [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 02, 2000 1:26 PM
To: [EMAIL PROTECTED]
Subject: Re: Problems finding properties files


I think I'm confused.  In my setup I have

webapps
    <appname>
         WEB-INF
             lib

With the servlet jar in the lib directory.
I originally had the lib directory under
<appname>, but the servlet would not load
there (I have a load-on-startup tag in the
web.xml).

Below you list classes and lib under <appname>,
then mention <appname>/WEB-INF/classes.  Do the
both exist?

I ask because I'm still having trouble getting
any output from my servlet.  If I open URL
<machine>/servlets/sfs?...  I just get an
Internal Server Error message after about a
15-90 second wait.

DK

From: "Ryan Littrell" <[EMAIL PROTECTED]>
> Your directory should be like the following:
>
> webapps
>     isover
>         WEB-INF
>             web.xml
>         classes
>             servlet.class
>             file.properties
>         lib
>             jdbcdrivers.jar
>             etc.jar
>
> [...] put your properties file in the
> "webapps/isover/WEB-INF/classes" directory


Reply via email to