Are you using jdk 1.4, in 1.4 you can no longer have non packaged
classes.. Also you might need to setup the default servlet as it is
disabled by default for security reasons.  If you do not want to enable
the default servlet you could also create a servlet mapping.

John

> -----Original Message-----
> From: Lars Nielsen Lind [mailto:[EMAIL PROTECTED] 
> Sent: Monday, February 24, 2003 6:56 AM
> To: Tomcat Users List
> Subject: Servlet deployment problems (Apache 2.0.44 / 
> Jakarta-Tomcat 4.1.18)
> 
> 
> Hi.
> 
> I have some problems with the deployment of servlets with 
> Apahce / Jakarta-Tomcat.
> 
> 1.) I have placed the servlet class in:
> 
> .../webapps/<application>/WEB-INF/classes/<servlet class>
> 
> 2.) I have added a web.xml file in:
> 
> .../webapps/<application>/WEB-INF/web.xml
> 
> 3.) I have added the following lines to the web.xml file:
> 
> - <servlet>
> -    <servlet-name>Testing</servlet-name>
> -    <servlet-class>Testing</servlet-class>
> - </servlet>
> 
> 4.) I have then tried to execute the servlet with this:
> 
> - <a href="/servlet/Testing">Testing servlet</a>
> 
> and
> 
> - <a href="/<application>/servlet/Testing">Testing servlet</a>
> 
> but I am always getting a HTTP Status 404 ERR:
> 
> - The requested resource (<path to servlet class>) is not available.
> 
> Any help is appriciated.
> 
> 
> Best regards,
> 
> Lars Nielsen Lind
> 
> 


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

Reply via email to