Filter Mapping
Web Application WAR file -> Filter Mapping tabbed pane
In the Filter Mapping pane, you can edit the mapping of
to the servlets that you want them to filter.
To add a servlet filter to the WAR file, click Add. The Add Servlet Filters
dialog box is displayed.
- Select a filter from the Filter Name column.
- To map existing servlet filters to servlets, in the Filter Target pane:
- Select Filter Servlets that Match This URL Pattern, if you want to filter
based on the Servlet Filter URL pattern.
- Enter the URL pattern if you chose URL Pattern.
Or,
- Select Filter this Servlet if you want the servlet filter to filter only one particular servlet.
- Select the servlet to be filtered.
- To select or deselect a particular dispatcher option, Click the
corresponding check box.
To edit a Filter Class's display name or its
, click Edit Filter List. This will take you to the Edit Servlet Filter Mapping dialog
box.
To map existing servlet filters to servlets:
- Select a filter from the Filter Display Name column.
- From the Target Type column:
- Select Servlet if you want the servlet filter to filter only one particular servlet.
- Select a URL Pattern if you want the servlet filter to filter a group of servlets.
- In the Targets column:
- Enter the name of the servlet you want to filter if you chose Servlet from the Target Type column.
- Enter the URL pattern if you chose URL Pattern from the Target Type menu.
To delete a filter-to-servlet mapping:
- Select the mapping from the table.
- Click Delete.
To move a filter mapping up in the
:
- Select the mapping from the table.
- Click Move Up until the mapping is in the correct order.
To move a filter mapping later in the filter chain:
- Select the mapping from the table.
- Click Move Down until the mapping is in the correct order.
See also
Add/Edit Servlet Filter Mapping
Edit Servlet Filters
Legal Notices