Hi,
I recently moved from tomcat 3.1 to tomcat 3.2.1. I found the speed of
start-up/shutdown is improved dramatically, and I don't have to manually kill my
apache and restart it anymore. However, with the upgrade, I found something else
strange happened. I defined the following servlet so that whenever the user
navigates to my web application, it will automatically invoke my servlet to
generate a welcome page for him. For instance,
http://myserver.com:8080/myapp
will invoke the PWFrontPageServlet.
It worked well with 3.1. However, it does not work in 3.2.1. I have to manually
type in
http://myserver.com:8080/myapp/index.html
to invoke the servlet.
I tried to set the welcome-file-list element in web.xml, it didn't work.
Can somebody please help me out?
Ma, Yanbin
===================== servlet definition ========================
<servlet>
<servlet-name>PWFrontPageServlet</servlet-name>
<servlet-class>PWFrontPageServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>PWFrontPageServlet</servlet-name>
<url-pattern>/index.html</url-pattern>
</servlet-mapping>
=============================================================