The servlet mapping tells the server which handler (servlet) to use for which files (the url pattern) The config lines you have there are telling the server that for any request matching "*.asp" should be handled by the servlet called "jsp"
If you look in the [TOMCAT_HOME]/conf/web.xml file, you will find both the servlet handler defined. Tomcat will run the file login.asp, using the servlet "jsp". Presumably that tells it to interpret the file login.asp as a jsp.
Joined: Jun 17, 2005
I got it. Thanks.
subject: jsp servlet mapping in web.xml (Tomcat 5.5)