Servlet Filter Mapping

In the Servlet Filter Mapping dialog box, map the that you listed in the previous dialog box to the servlets you want to filter.

To add a servlet filter to the WAR file, click Add.

To map existing servlet filters to servlets:

  1. Select a filter from the Filter Display Name column.
  2. From the Target Type column:
    1. Select Servlet if you want the servlet filter to filter only one particular servlet.
    2. Select URL Pattern if you want the servlet filter to filter a group of servlets.
  3. In the Targets column:
    1. Enter the name of the servlet you want to filter if you chose Servlet from the Target Type column.
    2. Enter the URL pattern if you chose URL Pattern from the Target Type menu.
To delete a filter-to-servlet mapping:
  1. Select the mapping from the table.
  2. Click Delete.
To move a filter mapping up in the :
  1. Select the mapping from the table
  2. Click Move Up until the mapping is in the correct order.
To move a filter mapping later in the filter chain:
  1. Select the mapping from the table
  2. Click Move Down until the mapping is in the correct order.


Copyright 1999-2001 Sun Microsystems, Inc. All Rights Reserved.