Hello gurus,
I have a web.xml as below, I had put login.html and some Servlets files in
the right place. I use Tomcat4.01 as web server and when I go to
http://localhost:8080/chat/login.html
It always stay at listRooms servlet page. but if I blocking the <servlet-
mapping> in web.xml file, the login.html shows up fine.
my Question is what should I do for this <url-pattern>?
Thank you very much
Tony
my web.xml file:
<!-- other entites -->
<servlet-mapping>
<servlet-name>listRooms</servlet-name>
<url-pattern>/</url-pattern>
</servlet-mapping>
<!-- other entites -->
<login-config>
<auth-method>FORM</auth-method>
<form-login-config>
<form-login-page>/login.html</form-login-page>
<form-error-page>/error.html</form-error-page>
</form-login-config>
</login-config>
<!-- other entites -->