Or, maybe I forgot to include the web.xml in the WAR file.   That is what I
did.

Thank you Cees, Noel, and Tim for taking the time to respond.  I really
appreciate your time.

-----Original Message-----
From: Cees van de Griend [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 11, 2002 2:52 PM
To: Tomcat Users List; Jim Henderson
Subject: Re: Directory Structure


On Wednesday 11 December 2002 21:29, Jim Henderson wrote:
> I have tried to follow every posted suggestion on how to process:
>
>       javax.servlet.ServletException: Cannot allocate servlet instance for path
> /mfnettags/servlet/DocViewServlet
> and
>       java.lang.NoClassDefFoundError: DocViewServlet (wrong name:
> mfnettags/DocViewServlet)
> or
>       Requested resource ... not available.
>
> The Java servlet name is: DocViewServlet
> The Java servlet package is: mfnettags
> The web application is: mfnettags
>
> This is driving me bananas.

Maybe:
Forgot the package name in the java source?
Forgot that file names are case sensitive?
Probebly forgot to put <servlet-name> and <servet-mapping> in web.xml?

Your servlet should be:
<webapp>/WEB-INF/classes/mfnettags/DocViewServlet.class

Regards,
Cees.

--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to