A filter is a piece of re-usable code that modifies requests to and responses from a servlet. Filters can perform many functions, including (but not limited to):
The IDE provides a wizard to help you create both simple and more advanced filter elements. For more information about filters, see the Java Servlet Specification available at http://java.sun.com/products/servlet/download.html.
See Also | |
---|---|
About Web Modules Creating a Filter Adding a Filter to the Deployment Descriptor |