1) How do you specify mapping a default servlet? That is if none of the URL pattern matches, rather than returning an error, can we map to a specific servlet? 2) How do you specify a mapping for index.*? That is if my webapp gets anything like index.jsp or index.html or index.php or index.asp, I want it all to go to login.jsp. Thanks.
posted 14 years ago
I think if you define the value of element url-pattern with "/", it mean that servlet specified by the mapping becomes the default servlet of the application.. Correct me if I am wrong regards daniel [ April 18, 2003: Message edited by: Fisher Daniel ]