@web.servlet-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 servlet to the specified url-pattern. Applies to servlets.

Parameters

Parameter Type Applicability Description Mandatory
url-pattern text   The url-pattern that the filter should match. false
Related reference
@web.ejb-local-ref
@web.ejb-ref
@web.env-entry
@web.filter
@web.filter-init-param
@web.filter-mapping
@web.listener
@web.resource-env-ref
@web.resource-ref
@web.security-role
@web.security-role-ref
@web.servlet
@web.servlet-init-param
Terms of use | Feedback
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.