On Wed, 12 May 1999, corrado agusto wrote:
> Hello,
> I'm trying to run simple HelloWorldServlet on my JServ installation,
> without success.
>
> I added to the "root" zone ( created by default ) (in)famous
> HelloWorldServlet with "HelloW" alias but every time I try
> http://localhost/servlets/HelloW, server answers with "404 not
> found", and jserv.log reports :
>
> [12/05/1999 21:17:23:320] (ERROR) ajp11: Servlet Error: ClassNotFoundException:
>HelloWorldServlet.class
It appears to be searching for a file named HelloWorld.class.class, which
is clearly incorrect. I'd suggest making sure that your alias line reads:
servlet.HelloW.code=HelloWorldServlet
rather than:
servlet.HelloW.code=HelloWorldServlet.class
...
hth --
Ed
----------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
READ THE FAQ!!!! <http://java.apache.org/faq/>
Archives and Other: <http://java.apache.org/main/mail.html/>
Problems?: [EMAIL PROTECTED]