Given the Tag:   Assuming the tag referenced by my Tags: get

题目
单选题
Given the Tag:   Assuming the tag referenced by my Tags: get Advice uses the Classic event model,  which is true?()
A

 The do After Body method is called.

B

 The doEnd Tag method is NOT called.

C

 The type attribute may be specified in the TLD

D

 The do Start Tag Method must always return SKIP_BODY.

E

 The TLD for this tag must NOT include a  tag.

如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

在以下XML标记中,符合XML标记命名规则的是______。
A.<xmltag>
B.<my_tag>
C.<2tag>
D.<d tag>


答案:B
解析:
本题考查XML标记的基础知识。在XML中几乎没有预定义的标记,用户可以根据自己的需要自行定义。XML中标记的使用非常自由,用户可以用任何词语作为元素的名称,但在使用时必须遵守如下规则:XML标记必须以“<”开始,以“>”结束;XML标记名必须以字母或下划线开头,可以包含字母、数字、下划线、连字符和圆点;XML标记不能以字母xml(或XML或Xml…)开头;XML标记中不能包含空格。所以本题中只有<my_tag>符合XML标记要求。

第2题:

What is TCI?()

  • A、Tag Calling Interface
  • B、Tag Control Identifier
  • C、ToS Class Interface
  • D、Tag Control Information

正确答案:D

第3题:

在VB中,以下关于符号常量的声明正确的是 ( )A.Const TAG as StringB.Const TAG as String=&qu

在VB中,以下关于符号常量的声明正确的是 ( )

A.Const TAG as String

B.Const TAG as String="Visual Basic"

C.Public TAG as String="Visual"

D.Dim TAG as String


正确答案:B

第4题:

A custom JSP tag must be able to support an arbitrary number of attributes whose names are unknown when the tag class is designed.  Which two are true? ()

  • A、 A  element in the echo tag LTD must have the value JSP
  • B、 The echo tag handler must define the setAttribute (String key, String value) method
  • C、 The true element must appear in the echo tag TLD
  • D、 The class implementing the echo tag handler must implement the javax.sevlet.jsp.tagext.IterationTag interface
  • E、 The class implementing the echo tag handler must implement the javax.sevlet.jsp.tagext.DynamicAttributes interface

正确答案:C,E

第5题:

The tag timeout value for a cisco wireless location appliance should be set to which tag beacon rate?()

  • A、4 to 6 times the tag beaconing rate
  • B、10 to 12 times the tab beaconing rate
  • C、8 to 10 times the tag beaconing rate
  • D、6 to 8 times the tag beaconing rate

正确答案:C

第6题:

The Outer.1Q tag represents customer VLAN ID and inner.1Q tag represents Provider VLAN?()

  • A、The Outer.1Q tag represents customer VLAN ID and inner.1Q tag represents Provider VLAN (PVLAN )
  • B、It is an effective way to achieve VLAN transparency between Provider and enterprise customer bytunneling one ser of VLAN tags inside a second VLAN tag
  • C、The Outer.1Q tag represents Service VLAN (PVLAN) and inner.1Q tag represents customer VLAN
  • D、QinQ is a way to hide native VLAN which can conflict with Provider native VLAN

正确答案:C

第7题:

The tag timeout value for a Cisco Wireless Location Appliance should be set to which tag beaconrate?()

  • A、4 to 6 times the tag beaconing rate
  • B、10 to 12 times the tab beaconing rate
  • C、8 to 10 times the tag beaconing rate
  • D、6 to 8 times the tag beaconing rate

正确答案:C

第8题:

Awebapplicationcontainsatagfilecalledbeta.tagin/WEB-INF/tags/alpha.AJSPpagecalledsort.jspexistsinthewebapplicationandcontainsonlythisJSPcode:1.<%@taglibprefix="x"2.tagdir="/WEB-INF/tags/alpha"%>3.<x:beta/>Thesort.jsppageisrequested.Whichtwoaretrue?()

A.Tagfilescanonlybeaccessedusingatagdirattribute.

B.Thesort.jsppagetranslatessuccessfullyandinvokesthetagdefinedbybeta.tag.

C.Thesort.jsppageproducesatranslationerrorbecauseataglibdirectivemustalwayshaveauriattribute.

D.Tagfilescanonlybeplacedin/WEB-INF/tags,andNOTinanysubdirectoriesof/WEB-INF/tags.

E.Thetagdirattributeinline2canbereplacedbyauriattributeifaTLDreferringtobeta.tagiscreatedandaddedtothewebapplication.


参考答案:B, E

第9题:

You are creating a content management system (CMS) with a web application front-end. The JSP thatdisplays a given document in the CMS has the following general structure: 1. <%-- tag declaration --%> 2.  ... 11. ...  ... ... 99.  The citation tag must store information in the document tag for the document tag to generate a referencesection at the end of the generated web page. The document tag handler follows the Classic tag model andthe citation tag handler follows the Simple tag model. Furthermore, the citation tag could also be embeddedin other custom tags that could have either the Classic or Simple tag handler model. Which tag handlermethod allows the citation tag to access the document tag?()

  • A、public void doTag() {JspTag docTag = findAncestorWithClass(this, DocumentTag.class); ((DocumentTag)docTag).addCitation(this.docID);}
  • B、public void doStartTag() {JspTag docTag = findAncestorWithClass(this, DocumentTag.class); ((DocumentTag)docTag).addCitation(this.docID);}
  • C、public void doTag() {. Tag docTag = findAncestor(this, DocumentTag.class); . ((DocumentTag)docTag).addCitation(this.docID);. }
  • D、public void doStartTag() {. Tag docTag = findAncestor(this, DocumentTag.class); . ((DocumentTag)docTag).addCitation(this.docID);. }

正确答案:A

第10题:

Given the Tag:   Assuming the tag referenced by my Tags: get Advice uses the Classic event model,  which is true?()

  • A、 The do After Body method is called.
  • B、 The doEnd Tag method is NOT called.
  • C、 The type attribute may be specified in the TLD
  • D、 The do Start Tag Method must always return SKIP_BODY.
  • E、 The TLD for this tag must NOT include a  tag.

正确答案:C

更多相关问题