Servlet Filters

In the Servlet Filters dialog, you can edit the list of to include in this WAR file.

  1. In the Servlet Filters pane, click Add to add a servlet filter to the WAR file.
  2. Select a filter class from the Filter Class column, or choose Add Filter to WAR File if the filter class is not listed.
  3. Enter a display name for the servlet filter in the Display Name column.
  4. Click the icon in the Icons column to select an icon to represent the filter in the tree.
  5. Click the rightmost column labelled with the folded paper icon to enter a description of the filter.
  6. In the Initialization Parameters pane, click Add to add the initialization parameters for the filter class currently selected in the Filter Class column.
  7. In the Coded Parameter column, enter the name of the parameter as it appears in your code.
  8. You can add default values for your parameters at this point in the Value column, or you can add the values after your web component is created.
  9. Click the rightmost column labelled with the folded paper icon to enter a description for each parameter.

To delete a filter, select the row containing the filter class and click the Delete button in the Servlet Filters pane. A confirmation dialog will ask you if you really want to delete the filter.

To delete a parameter, select the row containing the parameter and click the Delete button in the Initialization Parameters pane. A confirmation dialog will ask you if you really want to delete the parameter.


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