servlet name tag reference - novalexei/mod_servlet GitHub Wiki

#####<servlet-name>

This tag specifies the servlet name.

The name is symbolic only, and does not have to match the name of the servlet class.

The purpose of this tag is to provide a way to match a <servlet> tag which defines the servlet, with one or more <servlet-mapping> tags, which define which URLs will activate the servlet. It is therefore a required sub-element of both of these elements.

See Also:

  • <filter-name> the equivalent tag for defining filters

To web.xml reference page.