Configuring Component Mappings
You can use the Component Mappings function to define mappings, which are used to request servlets or filters that are part of the Web module. Two types of mappings can be defined:
● URL mappings
These can be defined for servlets as well as for filters. With URL mapping you define a URL pattern that the corresponding servlet or filter should respond to if this pattern appears in the request URL.
· Servlet mappings
These can be defined for filters only. With servlet mapping you specify that the filter is to be executed when the servlet it is mapped to is requested.
...
1. Choose the Mappings tab in the Web Module Details frame.
2. Choose Component Mappings.
3. To add a new mapping, choose Add from the Component Mappings tab in the Full Detailsframe.
4. Proceed as follows to complete the mapping definition:
a. Specify the URL pattern (in the case of URL mapping) or the servlet name you map the filter to (in case of servlet mapping) in Name.
b. Choose the component type (servlet or filter) from the Component Type dropdown list box.
c. Choose the name of the component with which this mapping is defined from the Component Name dropdown list box.
d. If you have specified Filter in the Component Type, choose the type of the mapping from the Mapping Type dropdown list box.