Class TableTag

All Implemented Interfaces:
Serializable, IterationTag, JspTag, Tag
Direct Known Subclasses:
TableTag

public class TableTag extends ElementTag
A JSP tag to render HTML tables.
Since:
1.0
Version:
5.0
Author:
Luke
See Also:
  • Constructor Details

    • TableTag

      public TableTag()
      Creates a new Table tag.
  • Method Details

    • setWidth

      public void setWidth(String width)
      Sets the WIDTH value for this table.
      Parameters:
      width - the width attribute value
    • doStartTag

      public int doStartTag() throws JspException
      Opens this TABLE element by writing a >TABLE< tag.
      Specified by:
      doStartTag in interface Tag
      Overrides:
      doStartTag in class ElementTag
      Throws:
      JspException - if an error occurs
    • doEndTag

      public int doEndTag() throws JspException
      Closes this TABLE element by writing a >/TABLE< tag.
      Specified by:
      doEndTag in interface Tag
      Overrides:
      doEndTag in class TagSupport
      Throws:
      JspException - if an I/O error occurs