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

Reply via email to