JspEngineInfo (Java EE 5)

Java EE API


javax.servlet.jsp Class JspEngineInfo

java.lang.Object
  extended by javax.servlet.jsp.JspEngineInfo

public abstract class JspEngineInfo
extends Object


JspEngineInfo 是提供关于当前 JSP 引擎的信息的抽象类。
英文文档:

The JspEngineInfo is an abstract class that provides information on the current JSP engine.


Constructor Summary
 
Method Summary
abstract  String
 
Methods inherited from class java.lang.Object
 

Constructor Detail

public JspEngineInfo()
唯一的构造方法。(由子类构造方法调用,通常是隐式的)。
英文文档:

JspEngineInfo

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

Method Detail

abstract public String getSpecificationVersion()
返回此 JSP 引擎支持的 JSP 规范的版本号。

规范的版本号由以句点 "." 分隔的十进制正整数组成,例如 "2.0" 或 "1.2.3.4.5.6.7"。这允许使用可扩展的编号来表示主版本、次版本、缩微版本,等等。版本号必须以数字开头。

return 规范版本,如果该版本未知,则返回 null
英文文档:

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


Submit a bug or feature

Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.

一看就知道只有菜鸟才干这么无知的事啦。

PS : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!