Sunday, September 29, 2002 04:54 AM
The "/servlet/" directory is not just a simple mapping. It's more an "invoker". When the Servlet Conatiner receives any request in that directory, it executes a servlet that invokes the requested servlet.
The invoked servet has to be located in tha CLASSPATH. This means that it can be located in the WEB-INF/classes or in any jar located under WEB-INF/lib, plus the CLASSPATH of the Servlet Container that is shared among all the web applications.
That "default" mapping helps has been probably set to create a common and basic mapping that do not require any setting in the web application descriptor.