单选题Click the Exhibit button. Assuming the tag library in the exhibit is imported with the prefix stock,which custom tag invocation outputsthe contents of the variable exposed by the quote tag?()A<;stock:quote&ensp;symbol=";SUNW";&ensp;/>;${var}B${var}.&e

题目
单选题
Click the Exhibit button. Assuming the tag library in the exhibit is imported with the prefix stock,which custom tag invocation outputsthe contents of the variable exposed by the quote tag?()
A

<;stock:quote&ensp;symbol=";SUNW";&ensp;/>;${var}

B

${var}.&ensp;<;stock:quote&ensp;symbol=";SUNW";&ensp;/>;

C

<;stock:quote&ensp;symbol=";SUNW";>;.&ensp;${var}.&ensp;<;/stock:quote>;

D

<;stock:quote&ensp;symbol=";SUNW";&ensp;var=";quote";&ensp;/>;${quote}


相似考题
更多“单选题Click the Exhibit button. Assuming the tag library in the exhibit is imported with the prefix stock,which custom tag invocation outputsthe contents of the variable exposed by the quote tag?()A ;stock:quoteensp;symbol=";SUNW";ensp;/;${var}B ${var}.en”相关问题
  • 第1题:

    在程序中,以下哪个内容不属于全局变量?()

    • A、“Tag_1”
    • B、“Data”.Record
    • C、#Globle_Var
    • D、“Data”.ST.Var

    正确答案:C

  • 第2题:

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

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

    正确答案:C

  • 第3题:

    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

  • 第4题:

    Which two statements are true about the security-related tags in a valid Java EE deployment descriptor?()

    • A、Every  tag must have at least one  tag.
    • B、A  tag can have many  tags.
    • C、A given  tag can apply to only one  tag.
    • D、A given  tag can contain from zero to many  tags.
    • E、It is possible to construct a valid  tag such that,for a given resource,no user rolescan access that resource.

    正确答案:B,E

  • 第5题:

    Given in a single JSP page: <%@ taglib prefix=’java’ uri=’myTags’ %> <%@ taglib prefix=’JAVA’ uri=’moreTags’ %>  Which two are true?()

    • A、The prefix ’java’ is reserved.
    • B、The URI ’myTags’ must be properly mapped to a TLD file by the web container.
    • C、A translation error occurs because the prefix is considered identical by the web container.
    • D、For the tag usage , the tag1 must be unique in the union of tag names in ’myTags’ and’moreTags’.

    正确答案:A,B

  • 第6题:

    Which two directives are applicable only to tag files?()

    • A、Tag
    • B、Page
    • C、Taglib
    • D、Include
    • E、Variable

    正确答案:A,E

  • 第7题:

    单选题
    Click the Exhibit button. Which type of source NAT is configured in the exhibit?()
    A

    static source pool

    B

    interface source pool

    C

    source pool with PAT

    D

    souce pool without PAT


    正确答案: A
    解析: 暂无解析

  • 第8题:

    单选题
    Which command will display the MPLS label binding for IP prefix 1.1.1.0 on the router?()
    A

    show tag-switching tdp binding 1.1.1.0/24

    B

    show tag-switching tdp bindings neighbor 1.1.1.0

    C

    show tag-switching interface e0/0

    D

    A and B both will show the binding.

    E

    All of the above.


    正确答案: A
    解析: 暂无解析

  • 第9题:

    多选题
    Refer to the exhibit. Which three statements accurately describe the result of applying the exhibited route map?()
    A

    The map prohibits the redistribution of all type 2 external OSPF routes with tag 6 set

    B

    The map prohibits the redistribution of all type 2 external OSPF routes

    C

    The map redistributes into EIGRP all routes that match the pfx prefix list and the five metric values40000, 1000, 255, 1, and 1500

    D

    The map prohibits the redistribution of all external OSPF routes with tag 6 set

    E

    All routes that do no match clauses 10 and 20 of the route map are redistributed with their tags set to 8

    F

    The map permits the redistribution of all type 1 external OSPF routes


    正确答案: C,A
    解析: 暂无解析

  • 第10题:

    多选题
    Given in a single JSP page:   Which two are true?()
    A

    The prefix ’java’ is reserved.

    B

    The URI ’myTags’ must be properly mapped to a TLD file by the web container.

    C

    A translation error occurs because the prefix is considered identical by the web container.

    D

    For the tag usage , the tag1 must be unique in the union of tag names in ’myTags’ and’moreTags’.


    正确答案: D,C
    解析: 暂无解析

  • 第11题:

    单选题
    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.  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
    解析: 暂无解析

  • 第12题:

    单选题
    The tag handler for n:recurse extends SimpleTagSupport.Assuming an n:recurse tag can either contain an empty body or another n:recurse tag, which strategy allows the tag handler for n:recurse to output the nesting depth of the deepest n:recurse tag?()
    A

     It is impossible to determine the deepest nesting depth because it is impossible for tag handlers that extend SimpleTagSupport to communicate with their parent and child tags

    B

     Create a private non-static attribute in the tag handler class called count of type int initialized to      oIncrement count in the doTag method. If the tag has a body, invoke the fragment for that body. Otherwise, output the value of count

    C

     Start a counter at 1. Call getChildTags(). If it returns null, output the value of the counter.      Otherwise, increment counter and continue from where getChildTags() is called. Skip      processing of the body.

    D

     If the tag has a body, invoke the fragment for that body. Otherwise, start a counter at 1. Call      getParent(). If it returns null, output the value of the counter. Otherwise, increment the counter      and continue from where getParent() is called.


    正确答案: B
    解析: 暂无解析

  • 第13题:

    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

  • 第14题:

    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

  • 第15题:

    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

  • 第16题:

    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

  • 第17题:

    A custom tag is defined to take three attributes. Which two correctly invoke the tag within a JSP page?()

    • A、<prefix:myTag a="foo" b="bar" c="baz" />
    • B、<prefix:myTag attributes={"foo","bar","baz"} />
    • C、<prefix:myTag jsp:attribute a="foo" b="bar" c="baz" />
    • D、<prefix:myTag><jsp:attribute name="a">foo</jsp:attribute><jsp:attribute name="b">bar</jsp:attribute><jsp:attribute name="c">baz</jsp:attribute>. </prefix:myTag>

    正确答案:A,B,D

  • 第18题:

    单选题
    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


    正确答案: A
    解析: 暂无解析

  • 第19题:

    多选题
    Which two statements are true about the security-related tags in a valid Java EE deployment descriptor?()
    A

    Every  tag must have at least one  tag.

    B

    A  tag can have many  tags.

    C

    A given  tag can apply to only one  tag.

    D

    A given  tag can contain from zero to many  tags.

    E

    It is possible to construct a valid  tag such that,for a given resource,no user rolescan access that resource.


    正确答案: D,A
    解析: 暂无解析

  • 第20题:

    单选题
    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


    正确答案: A
    解析: 暂无解析

  • 第21题:

    多选题
    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


    正确答案: E,B
    解析: 暂无解析

  • 第22题:

    单选题
    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.


    正确答案: E
    解析: 暂无解析

  • 第23题:

    单选题
    Click the Exhibit button. Assuming the tag library in the exhibit is imported with the prefix stock,which custom tag invocation outputsthe contents of the variable exposed by the quote tag?()
    A

    <;stock:quote&ensp;symbol=";SUNW";&ensp;/>;${var}

    B

    ${var}.&ensp;<;stock:quote&ensp;symbol=";SUNW";&ensp;/>;

    C

    <;stock:quote&ensp;symbol=";SUNW";>;.&ensp;${var}.&ensp;<;/stock:quote>;

    D

    <;stock:quote&ensp;symbol=";SUNW";&ensp;var=";quote";&ensp;/>;${quote}


    正确答案: A
    解析: 暂无解析

  • 第24题:

    多选题
    A custom tag is defined to take three attributes. Which two correctly invoke the tag within a JSP page?()
    A

    <prefix:myTag a=foo b=bar c=baz />

    B

    <prefix:myTag attributes={foo,bar,baz} />

    C

    <prefix:myTag jsp:attribute a=foo b=bar c=baz />

    D

    <prefix:myTag><jsp:attribute name=a>foo</jsp:attribute><jsp:attribute name=b>bar</jsp:attribute><jsp:attribute name=c>baz</jsp:attribute>. </prefix:myTag>


    正确答案: C,A
    解析: 暂无解析