Add a filter to the WAR.
Before you can add a filter to the Web archive, you must have set the classpath. See Setting a Project Classpath.
1. In your DLP project, choose the J2EE Components tab
2. Choose a WAR
3. Choose J2EE Components → Add Filter. A dialog box appears. Enter data as required.
Use unique filter names in a Web archive.
4. Choose OK. The filter appears on the J2EE Components tab as a Web archive subnode.
5. Specify the filter class file. For more information, see Editing the Properties of a Filter.