Class | Description |
---|
BodyContent | Is a subclass of the JSPWriter class and represents the body content of a tag. |
TagSupport | Acts as a base class for tag handlers and implements empty tags. |
BodyTagSupport | Implements the BodyTag interface. This class is used to develop custom tags with body. |
TagData | Represents the attributes and their values. |
TagInfo | Represents the information specified in the <tag></tag> element of the TLD file. This class is used by the JSP engine while translating a JSP page to a servlet |
TagLibraryInfo | Represents the information of the TLD file, such as the tags it defines and versioning information. |
TagVariableInfo | Represents information about the variables of a custom tag. |
The following table describes various methods that you can implement in a tag handler:
Method | Description |
---|
public abstract JspWriter getOut() | Returns the JSP implicit object, out. |
public abstract ServletRequest getRequest() | Returns the JSP implicit object, request. |
public abstract ServletResponse getResponse() | Returns the JSP implicit object, response. |
public abstract HttpSession getSession() | Returns the JSP implicit object, session |
public abstract Exception getException() | Returns the JSP implicit object, exception |
public abstract ServletContext getServletContext() | Returns the JSP implicit object, application |
public abstract ServletConfig getServletConfig() | Returns the JSP implicit object, config |
public abstract Object getPage() | Returns the JSP implicit object, page |