Spring MVC Label Tag Example –

Spring MVC label tag is used to display labels on form.

Syntax

This gets translated into HTML as

Example:

Path attribute in the label tag is useful when displaying errors for that particular field by using the additional cssErrorClass attribute.

More Reference can be found here Label Tag