Class JspEngineInfo

java.lang.Object
jakarta.servlet.jsp.JspEngineInfo

public abstract class JspEngineInfo extends Object
The JspEngineInfo is an abstract class that provides information on the current JSP engine.
  • Constructor Details

    • JspEngineInfo

      public JspEngineInfo()
      Sole constructor. (For invocation by subclass constructors, typically implicit.)
  • Method Details

    • getSpecificationVersion

      public abstract String getSpecificationVersion()
      Return the version number of the JSP specification that is supported by this JSP engine.

      Specification version numbers that consists of positive decimal integers separated by periods ".", for example, "2.0" or "1.2.3.4.5.6.7". This allows an extensible number to be used to represent major, minor, micro, etc versions. The version number must begin with a number.

      Returns:
      the specification version, null is returned if it is not known