@web.filter-mapping

Scope: Class

Multiplicity

(0..1): You can use this tag zero or one time in the Java™ source file.

Purpose

This tag defines the mapping for the Filter. Either url-pattern or servlet-name should be specified. Applies to Servlet 2.3 only. Applies to filters.

Parameters

Parameter Type Applicability Description Mandatory
url-pattern text   The url-pattern the filter should match. false
servlet-name text   The servlet-name for the filter. false

Feedback