网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
单选题
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}.ensp;;stock:quoteensp;symbol=";SUNW";ensp;/;C ;stock:quoteensp;symbol=";SUNW";;.ensp;${var}.ensp;;/stock:quote;D ;stock:quoteensp;symbol=";SUNW";ensp;var=";quote";ensp;/;${quote}” 相关考题
考题
ClicktheExhibitbutton.Assumingthetaglibraryintheexhibitisimportedwiththeprefixstock,whichcustomtaginvocationoutputsthecontentsofthevariableexposedbythequotetag?()
A.;stock:quoteensp;symbol=;SUNW;ensp;/;${var}B.${var}.ensp;;stock:quoteensp;symbol=;SUNW;ensp;/;C.;stock:quoteensp;symbol=;SUNW;;.ensp;${var}.ensp;;/stock:quote;D.;stock:quoteensp;symbol=;SUNW;ensp;var=;quote;ensp;/;${quote}
考题
Click the Exhibit button. Which type of multiplexer is shown in the exhibit?()
A. Thin Film filterB. Fiber Bragg GratingC. Arrayed Wave GuideD. Erbium fiber amplifier
考题
Click the Exhibit button. Which type of protection is shown in the exhibit?()
A.1+0B.1+1C.1:1D.1:N
考题
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/24B、show tag-switching tdp bindings neighbor 1.1.1.0C、show tag-switching interface e0/0D、A and B both will show the binding.E、All of the above.
考题
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 rateB、10 to 12 times the tab beaconing rateC、8 to 10 times the tag beaconing rateD、6 to 8 times the tag beaconing rate
考题
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 rateB、6 to 8 times the tag beaconing rateC、8 to 10 times the tag beaconing rateD、10 to 12 times the tab beaconing rate
考题
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 rateB、10 to 12 times the tab beaconing rateC、8 to 10 times the tag beaconing rateD、6 to 8 times the tag beaconing rate
考题
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 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 JSPB、 The echo tag handler must define the setAttribute (String key, String value) methodC、 The true element must appear in the echo tag TLDD、 The class implementing the echo tag handler must implement the javax.sevlet.jsp.tagext.IterationTag interfaceE、 The class implementing the echo tag handler must implement the javax.sevlet.jsp.tagext.DynamicAttributes interface
考题
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.
考题
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 TLDD、 The do Start Tag Method must always return SKIP_BODY.E、 The TLD for this tag must NOT include a tag.
考题
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 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:myTagjsp:attribute name="a"foo/jsp:attributejsp:attribute name="b"bar/jsp:attributejsp:attribute name="c"baz/jsp:attribute. /prefix:myTag
考题
Which two directives are applicable only to tag files?()A、TagB、PageC、TaglibD、IncludeE、Variable
考题
单选题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 rateB
10 to 12 times the tab beaconing rateC
8 to 10 times the tag beaconing rateD
6 to 8 times the tag beaconing rate
考题
单选题Click the Exhibit button. Which type of source NAT is configured in the exhibit?()A
static source poolB
interface source poolC
source pool with PATD
souce pool without PAT
考题
多选题Which two statements are true about the security-related tags in a valid Java EE deployment descriptor?()AEvery tag must have at least one tag.BA tag can have many tags.CA given tag can apply to only one tag.DA given tag can contain from zero to many tags.EIt is possible to construct a valid tag such that,for a given resource,no user rolescan access that resource.
考题
单选题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/24B
show tag-switching tdp bindings neighbor 1.1.1.0C
show tag-switching interface e0/0D
A and B both will show the binding.E
All of the above.
考题
单选题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 rateB
10 to 12 times the tab beaconing rateC
8 to 10 times the tag beaconing rateD
6 to 8 times the tag beaconing rate
考题
多选题Refer to the exhibit. Which three statements accurately describe the result of applying the exhibited route map?()AThe map prohibits the redistribution of all type 2 external OSPF routes with tag 6 setBThe map prohibits the redistribution of all type 2 external OSPF routesCThe map redistributes into EIGRP all routes that match the pfx prefix list and the five metric values40000, 1000, 255, 1, and 1500DThe map prohibits the redistribution of all external OSPF routes with tag 6 setEAll routes that do no match clauses 10 and 20 of the route map are redistributed with their tags set to 8FThe map permits the redistribution of all type 1 external OSPF routes
考题
多选题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? ()AA element in the echo tag LTD must have the value JSPBThe echo tag handler must define the setAttribute (String key, String value) methodCThe true element must appear in the echo tag TLDDThe class implementing the echo tag handler must implement the javax.sevlet.jsp.tagext.IterationTag interfaceEThe class implementing the echo tag handler must implement the javax.sevlet.jsp.tagext.DynamicAttributes interface
考题
多选题Given in a single JSP page: Which two are true?()AThe prefix ’java’ is reserved.BThe URI ’myTags’ must be properly mapped to a TLD file by the web container.CA translation error occurs because the prefix is considered identical by the web container.DFor the tag usage , the tag1 must be unique in the union of tag names in ’myTags’ and’moreTags’.
考题
单选题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 TLDD
The do Start Tag Method must always return SKIP_BODY.E
The TLD for this tag must NOT include a tag.
考题
单选题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);. }
考题
单选题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 tagsB
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 countC
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.
考题
多选题A custom tag is defined to take three attributes. Which two correctly invoke the tag within a JSP page?()Aprefix:myTag a=foo b=bar c=baz /Bprefix:myTag attributes={foo,bar,baz} /Cprefix:myTag jsp:attribute a=foo b=bar c=baz /Dprefix:myTagjsp:attribute name=afoo/jsp:attributejsp:attribute name=bbar/jsp:attributejsp:attribute name=cbaz/jsp:attribute. /prefix:myTag
热门标签
最新试卷