JSP - SPLessons
SPLessons 5 Steps, 3 Clicks
5 Steps - 3 Clicks

JSP Packages

JSP Packages

shape Description

JSP Packages - The JSP API( Application programming Interface) has three packages.

javax.servlet.jsp

shape Description

Interfaces

Interface Description
HttpJspPage Depicts the correspondence that a JSP Page Implementation Class must satisfy while using the HTTP convention.
JspPage Delineates the non particular affiliation that a JSP Page Implementation class must satisfy; the pages that usage the HTTP convention is depicted by the HttpJspPage interface.

Classes

Classes Description
JspContext It goes about as base class for the PageContext class and processes all information that is not specific to servlets.
ErrorData It will have the information about the mistake pages.
JspEngineInfo It is an abstract class and underpins information on the current JSP page.
JspFactory Represents the factory methods that were present to the  dynamic time of JSP to create the object to the classes and interfaces that supports to the JSP implementation.
JspWriter Template data will be written by JspWritter in JSP page.
PageContext It extends JspContext and used when JSP works on Servlet Environment.

Exception

Exceptions Description
JspException JspExceptions will bring about a conjuring of the errorpage hardware.
JspTagException Exception to be utilized by a Tag Handler to demonstrate some unrecoverable screw up.
SkipPageException To show the calling page must stop appraisal.

javax.servlet.jsp.el

shape Description

Interfaces

Interface Description
FunctionMapper To map between EL functions and methods.
VariableResolver To re-try the way an ExpressionEvaluator decides variable references at evaluation time.

Classes

Classes Description
Expression For a readied expression.
ExpressionEvaluator To evaluate the expression language.

Classes

Exception Description
ELException Indicates the conditions of an exception while evaluation.
ELParseException Indicates the parsing error while parsing.

javax.servlet.jsp.tagext

shape Description

Interfaces

Interfaces Description
BodyTag amplifies IterationTag by characterizing extra methods that give a tag handler a chance to control the substance of assessing its body.
DynamicAttributes It accepts dynamic attributes.
IterationTag augments Tag by characterizing one extra methods that controls the reconsideration of its body.
JspTag Represents the factory methods that were present to the  dynamic time of JSP to create the object to the classes and interfaces that supports to the JSP implementation.
SimpleTag To define tag handlers.
Tag Tag handler will not have any longing to control its body.
TryCatchFinally It is spare tag that needs extra snares for overseeing assets.

Classes

Classes Description
TagInfo This class is begun from the TLD and is available exactly at interpretation time.
BodyTagSupport Characterizing tag handlers actualizing BodyTag.
FunctionInfo Data for a function .
JspFragment Exemplifies a segment of JSP code in an instance that can be conjured the same number of times as required.
PageData Fetching time data on page.
SimpleTagSupport Defines tag handler that implements simple tag.
TagAdapter It can wrap the simple tag, exposes it by tag interface.
TagAttributeInfo Data of the attributes available at translation time.
TagData Gives value for a tag instance.
TagExtraInfo Tag library provide extrs class to indicate extra interpretation time data not depicted in the TLD.
TagFileInfo This class is begun from the TLD and  is open exactly at translation time.
BodyContent An encapsulation of the appraisal of the body of a movement so it is open to a tag handler.
TagLibraryInfo Translation time information associated with a taglib catalog, and its concealed TLD record.
TagLibraryValidator This class is about translation time validator.
TagSupport Defines new tag handlers.
TagVariableInfo This class is begun from the TLD and is available exactly at translation time and gives variable data of the tag.
ValidationMessage This class from either TagExtraInfo or TagLibraryValidator.
VariableInfo Works on scripting variables.

Summary

shape Key Points

  • JSP Packages - Developer should import the required packages to provide classes and interfaces .
  • JSP Packages - While working with IDE, JSP Packages needs to be import before the compiling.