org.springframework.web.servlet.tags

Class ParamTag

  • All Implemented Interfaces:
    java.io.Serializable, BodyTag, IterationTag, JspTag, Tag


    public class ParamTag
    extends BodyTagSupport
    The <param> tag collects name-value parameters and passes them to a ParamAware ancestor in the tag hierarchy.

    This tag must be nested under a param aware tag.

    Attribute Summary
    Attribute Required? Runtime Expression? Description
    name true true The name of the parameter.
    value false true The value of the parameter.
    Since:
    3.0
    Author:
    Scott Andrews, Nicholas Williams
    See Also:
    Param, UrlTag, Serialized Form
    • Constructor Detail

      • ParamTag

        public ParamTag()
    • Method Detail

      • setName

        public void setName(java.lang.String name)
        Set the name of the parameter (required).
      • setValue

        public void setValue(java.lang.String value)
        Set the value of the parameter (optional).