Class CurrentYearTag

java.lang.Object
jakarta.servlet.jsp.tagext.SimpleTagSupport
com.rosivanyshyn.controller.tag.CurrentYearTag
All Implemented Interfaces:
jakarta.servlet.jsp.tagext.JspTag, jakarta.servlet.jsp.tagext.SimpleTag

public class CurrentYearTag extends jakarta.servlet.jsp.tagext.SimpleTagSupport
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Writes to JspWriter formatted current year.

    Methods inherited from class jakarta.servlet.jsp.tagext.SimpleTagSupport

    findAncestorWithClass, getJspBody, getJspContext, getParent, setJspBody, setJspContext, setParent

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CurrentYearTag

      public CurrentYearTag()
  • Method Details

    • doTag

      public void doTag() throws IOException
      Writes to JspWriter formatted current year.
      Specified by:
      doTag in interface jakarta.servlet.jsp.tagext.SimpleTag
      Overrides:
      doTag in class jakarta.servlet.jsp.tagext.SimpleTagSupport
      Throws:
      IOException