tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jim Henderson" <...@metafile.com>
Subject RE: Directory Structure
Date Wed, 11 Dec 2002 22:20:43 GMT
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:cvdg@pobox.com]
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:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:tomcat-user-help@jakarta.apache.org>


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message