actually it turns out I went off on a wild goose chase, but you got me to
look at the code closer. I did the really brain-dead thing of not specifying
my servlet class as "public"! I'm going to claim lack of sleep as my
excuse...
- Kit
----- Original Message -----
From: Noah Nordrum <[EMAIL PROTECTED]>
To: Kit Cragin <[EMAIL PROTECTED]>
Sent: Tuesday, March 07, 2000 3:58 PM
Subject: Re: bug/feature? deploying servlet (name conflict)
> are you calling http://localhost/servlet/runtest ?
> that or http://localhost/servlet/test.mytest.TestServlet are the correct
> calls(assuming localhost is the intended hostname of course ;} )
>
> Noah Nordrum
> [EMAIL PROTECTED]
> Hyperride Technologies
>
> ----- Original Message -----
> From: "Kit Cragin" <[EMAIL PROTECTED]>
> To: "Orion-Interest" <[EMAIL PROTECTED]>
> Sent: Tuesday, March 07, 2000 2:47 PM
> Subject: bug/feature? deploying servlet (name conflict)
>
>
> > I have a servlet defined in a package and I tried deploy it by adding
the
> > following entry to orion/default-web-app/WEB-INF/web.xml:
> >
> > <servlet>
> > <servlet-name>runtest</servlet-name>
> > <servlet-class>test.mytest.TestServlet</servlet-class>
> > </servlet>
> >
> > and then copying the package structure to orion/servlets, creating for
> > example this directory hierarchy:
> >
> > orion/servlets
> > orion/servlets/test
> > orion/servlets/test/mytest
> > orion/servlets/test/mytest/TestServlet.class
> >
> > I also had a directory named "mytest" in the orion/default-web-app
> > directory. This directory contains a number of .jsp and .jpg files.
> >
> > This is what happens: I get a 404 (page not found). If I either rename
the
> > directory from "mytest" to something else or change the test.mytest
package
> > to something else, it works. In other words there is some sort of name
> > conflict on mytest.
> >
> > Can anyone tell me 1) why this occurs? 2) what's the fix (besides what I
> > tried above) and 3) is this a bug or am I misunderstanging something
> > configuration-wise?
> >
> > Thanks,
> >
> > Kit Cragin
> >
> >
>
>