Add/Edit Servlet Filter Mapping
Web Application WAR file -> Filter Mapping tabbed pane -> Add
button
In this dialog box, you can define a servlet filter mapping.
- Select the servlet filter for which you want to define a mapping. The
Filter Name drop-down list contains the list of servlet filters for the module.
- In the Filter Target pane,
- Select Filter Servlets that Match this URL Pattern, if you want to
apply the filter to a set of files that match the URL. Enter the URL.
- Select Filter this Servelet if you want to apply filter to an individual
servlet.
- Select if the filter should apply to Request Dispatcher Calls. The
chosen options are displayed in the Servlet Filter Mapping table.
- Forward - Only when the request has been forwarded to a component. That
is, when you want to have one Web component do preliminary processing of
a request and have another component generate the response.
- Include - Only when the request is being processed by a component
that has been included. That is, when you have included another Web resource,
for example, banner content or copyright information, in the response returned
from a Web component.
- Request - Only when the request comes directly from the client.
- Error - Only when the request is being processed with the error
page. That is, when an exception occurs, you have specified that the container
should return a specific error page for a given exception mechanism.
Legal Notices