C
circuit_breaker
Hi everyone,
I just upgraded from a 4.1.10 Tomcat implementation on NT4 to a Tomcat
5.0.19 on Linux. Works fine but...
On the NT4 box, my web.xml look like this:
---
<servlet>
<servlet-name>Testing</servlet-name>
<servlet-class>TestingServlet</servlet-class>
</servlet>
---
and I can call the servlet this way:
http//ntgate:8090/myApp/servlet/Testing
On the Linux box, I have something like this:
---
<servlet>
<servlet-name>TestingServlet</servlet-name>
<servlet-class>TestingServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>TestingServlet</servlet-name>
<url-pattern>/servlet/TestingServlet</url-pattern>
</servlet-mapping>
When I call the servlet, I have to type "TestingServlet" in the URL in
order to have it working. If I change "TestingServlet" for "Testing"
in my web.xml file, the servlet doesn't show up.
What's the trick?
Thanks you.
I just upgraded from a 4.1.10 Tomcat implementation on NT4 to a Tomcat
5.0.19 on Linux. Works fine but...
On the NT4 box, my web.xml look like this:
---
<servlet>
<servlet-name>Testing</servlet-name>
<servlet-class>TestingServlet</servlet-class>
</servlet>
---
and I can call the servlet this way:
http//ntgate:8090/myApp/servlet/Testing
On the Linux box, I have something like this:
---
<servlet>
<servlet-name>TestingServlet</servlet-name>
<servlet-class>TestingServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>TestingServlet</servlet-name>
<url-pattern>/servlet/TestingServlet</url-pattern>
</servlet-mapping>
When I call the servlet, I have to type "TestingServlet" in the URL in
order to have it working. If I change "TestingServlet" for "Testing"
in my web.xml file, the servlet doesn't show up.
What's the trick?
Thanks you.