Hi all,
I'm new here and can't find the answer.
I move my application from
Tomcat 4 to Tomcat 6. My
servlets work fine in Tomcat 4 and doesn't work in Tomcat 6 (of corse, I compiled it with new
Java version, and most classes work fine).
The servlets make me problem structure is very similar to ChatServlet example that is configured in web.xml as following:
<servlet>
<servlet-name>ChatServlet</servlet-name>
<servlet-class>chat.ChatServlet</servlet-class>
</servlet>
.......
<servlet-mapping>
<servlet-name>ChatServlet</servlet-name>
<url-pattern>/jsp/chat/chat</url-pattern>
</servlet-mapping>
When I try to run it, it gives me 404 error:
--------------
http://localhost/examples/servlets/servlet/chat.ChatServlet
HTTP Status 404 -
type Status report
description The requested resource () is not available.
--------------
The simple examples like
http://localhost/examples/servlets/servlet/HelloWorldExample etc run well.
Please help! I'm
some days and can't understand what is wrong: link, configuration or my had.
Thanks in advance!