javax.servlet.descriptor
接口 JspConfigDescriptor

所有已知实现类:
ServletContextHandler.JspConfig

public interface JspConfigDescriptor

This interface provides access to the <jsp-config> related configuration of a web application.

The configuration is aggregated from the web.xml and web-fragment.xml descriptor files of the web application.

从以下版本开始:
Servlet 3.0

方法摘要
 Collection<JspPropertyGroupDescriptor> getJspPropertyGroups()
          Gets the <jsp-property-group> child elements of the <jsp-config> element represented by this JspConfigDescriptor.
 Collection<TaglibDescriptor> getTaglibs()
          Gets the <taglib> child elements of the <jsp-config> element represented by this JspConfigDescriptor.
 

方法详细信息

getTaglibs

Collection<TaglibDescriptor> getTaglibs()
Gets the <taglib> child elements of the <jsp-config> element represented by this JspConfigDescriptor.

Any changes to the returned Collection must not affect this JspConfigDescriptor.

返回:
a (possibly empty) Collection of the <taglib<>/code> child elements of the <jsp-config> element represented by this JspConfigDescriptor

getJspPropertyGroups

Collection<JspPropertyGroupDescriptor> getJspPropertyGroups()
Gets the <jsp-property-group> child elements of the <jsp-config> element represented by this JspConfigDescriptor.

Any changes to the returned Collection must not affect this JspConfigDescriptor.

返回:
a (possibly empty) Collection of the <jsp-property-group> child elements of the <jsp-config> element represented by this JspConfigDescriptor


Copyright © 2013. All Rights Reserved.