In the web application deployment descriptor, the following syntax is used to define mappings:
SRV.10.2.1 Implicit MappingsIf the container has an internal JSP container, the *.jsp extension is implicitly mapped to it so that JSP pages may be executed on demand. If the web application defines a *.jsp mapping, its mapping takes precedence over this implicit mapping. A servlet container is allowed to make other implicit mappings as long as explicit mappings take precedence. For example, an implicit mapping of *.shtml could be mapped by a container to a server side including functionality. SRV.10.2.2 Example Mapping SetConsider the set of mappings in Table SRV.10-1. Table SRV.10-1. Example Set of Maps
The behavior in Table SRV.10-2 would result. Table SRV.10-2. Incoming Paths Applied to Example Maps
Note that in the case of /catalog/index.html and /catalog/racecar.bop , the servlet mapped to " /catalog " is not used as it is not an exact match and the rule doesn't include the '*' character. |