开发者

Custom tag handler class with tag-file?

We can subc开发者_高级运维lass Java-classes when creating JSP...

<%@ page extends="my.package.JspPage" %>

Is something similar possible with tag-file?


The page directive is not available in tag files; tag files use the tag directive instead with the following syntax:

<%@ tag tag_directive_attr_list %>

tag_directive_attr_list ::=
{ display-name=”display-name” }
{ body-content=”scriptless|tagdependent|empty” }
{ dynamic-attributes=”name” }
{ small-icon=”small-icon” }
{ large-icon=”large-icon” }
{ description=”description” }
{ example=”example” }
{ language=”scriptingLanguage” }
{ import=”importList” }
{ pageEncoding=”peinfo” }
{ isELIgnored=”true|false” }
{ deferredSyntaxAllowedAsLiteral=”true|false”}
{ trimDirectiveWhitespaces=”true|false”}

The above is from the JSP 2.1 spec, but the story is the same in 2.2.

There does not appear to be a similar mechanism.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜