网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)

关于JSP标记文件下列说法不正确的是()  

  • A、Tag File是JSP2.0新增的功能
  • B、Tag File是JSP1.2新增的功能
  • C、Tag File可以让网页开源直接使用Jsp语法制作标签
  • D、Tag File的扩展名可以是.tag

参考答案

更多 “关于JSP标记文件下列说法不正确的是()  A、Tag File是JSP2.0新增的功能B、Tag File是JSP1.2新增的功能C、Tag File可以让网页开源直接使用Jsp语法制作标签D、Tag File的扩展名可以是.tag” 相关考题
考题 关于JSP标记文件下列说法不正确的是() A.TagFile是JSP2.0新增的功能B.TagFile是JSP1.2新增的功能C.TagFile可以让网页开源直接使用Jsp语法制作标签D.TagFile的扩展名可以是.tag

考题 标记图像文件格式TIFF(Tag Image File Format)是Mac中广泛使用的图像格式,它由Aldus和微软联合开发,它的特点是()、()。

考题 PHP的文件上传功能,需要在php.ini配置当中,开启哪项功能?() A.display_errors=onB.file_uploads=onC.short_open_tag=OnD.以上都不正确

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

考题 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

考题 PHP的文件上传功能,需要在php.ini配置当中,开启哪项功能?()A、display_errors=onB、file_uploads=onC、short_open_tag=OnD、以上都不正确

考题 Assume the tag handler for a st:simple tag extends Simple Tag Support. In what way can scriptlet code beused in the body of st:simple?()A、Set the body content type to JSP in the TLDB、Scriptlet code is NOT legal in the body of st:simple.C、Add scripting-enabled="true" to the start tag for the st:simple elementD、Add a pass-through Classic tag with a body content type of JSP to the body of st:simple, and place the scriptlet code in the body of that tag

考题 To take advantage of the capabilities of modern browsers that use web standards, such as XHTML andCSS, your web application is being converted from simple JSP pages to JSP Document format. However,one of your JSPs, /scripts/screenFunctions.jsp, generates a JavaScript file. This file is included in severalweb forms to create screen-specific validation functions and are included in these pages with the followingstatement: 10. 11.  14. 15. Which JSP code snippet declares that this JSP Document is a JavaScript file?()A、%@ page contentType=’application/javascript’ %B、jsp:page contentType='application/javascript' /C、jsp:document contentType='application/javascript' /D、jsp:directive.page contentType='application/javascript' /E、No declaration is needed because the web form XHTML page already declares the MIME type of the /scripts/screenFunctions.jsp file in the script tag. tag.

考题 在JSP中使用()指令来声明对标签的引用A、@taglib    B、taglib C、tag  D、attribute

考题 下列对custom tags的论述哪个不正确()A、是开发者自己定义的tag,可以在JSP页面中使用B、JSP中定制标记符,实质上就是以标记的形式封装了一个俱有独立功能的Java类C、必须依靠TLD文件实现custom tag到实现类的映射D、是某些厂商自己实现的JSP扩展

考题 标记交换是基于路由分配Tag,而不是按()属性。Tag交换机根据分组携带的Tag标记以及自己所维持的Tag前传信息进行分组前传。

考题 使用自定义标签时,要为JSP引擎提供有关自定义标签的相关信息,下列信息描述语句正确的是()。A、tag-infoB、tag-descC、taglibD、tag

考题 A web application contains a tag file called beta.tag in /WEB-INF/tags/alpha. A JSP page called sort.jspexists in the web application and contains only this JSP code: 1.%@ taglib prefix="x" 2.tagdir="/WEB-INF/tags/alpha" % 3. The sort.jsp page is requested. Which two are true?()A、Tag files can only be accessed using a tagdir attribute.B、The sort.jsp page translates successfully and invokes the tag defined by beta.tag.C、The sort.jsp page produces a translation error because a taglib directive must always have a uriattribute.D、Tag files can only be placed in /WEB-INF/tags, and NOT in any subdirectories of /WEB- INF/tags.E、The tagdir attribute in line 2 can be replaced by a uri attribute if a TLD referring to beta.tag is createdand added to the web application.

考题 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’.

考题 Assume the tag handler for a st:simpletag extends SimpleTagSupport. In what way can scriptlet code be used in the body of st:simple?()A、 Set the body content type to JSP in the TLDB、 Scriptlet code is NOT legal in the body of st:simpleC、 Add scripting-enabled= “true” to the start tag for the st:simple elementD、 Add a pass-through Classic tag with a body content type of JSP to the body of st:simple, and      place the scriptlet code in the body of that tag.

考题 Which three are valid values for the body-content attribute of a tag directive in a tag file?()A、ELB、JSPC、EmptyD、DynamicE、ScriptlessF、Tagdependent

考题 多选题A web application contains a tag file called beta.tag in /WEB-INF/tags/alpha. A JSP page called sort.jspexists in the web application and contains only this JSP code: 1. 3. The sort.jsp page is requested. Which two are true?()ATag files can only be accessed using a tagdir attribute.BThe sort.jsp page translates successfully and invokes the tag defined by beta.tag.CThe sort.jsp page produces a translation error because a taglib directive must always have a uriattribute.DTag files can only be placed in /WEB-INF/tags, and NOT in any subdirectories of /WEB- INF/tags.EThe tagdir attribute in line 2 can be replaced by a uri attribute if a TLD referring to beta.tag is createdand added to the web application.

考题 单选题关于JSP标记文件下列说法不正确的是()A Tag File是JSP2.0新增的功能B Tag File是JSP1.2新增的功能C Tag File可以让网页开源直接使用Jsp语法制作标签D Tag File的扩展名可以是.tag

考题 单选题Assume the tag handler for a st:simpletag extends SimpleTagSupport. In what way can scriptlet code be used in the body of st:simple?()A  Set the body content type to JSP in the TLDB  Scriptlet code is NOT legal in the body of st:simpleC  Add scripting-enabled= “true” to the start tag for the st:simple elementD  Add a pass-through Classic tag with a body content type of JSP to the body of st:simple, and      place the scriptlet code in the body of that tag.

考题 填空题标记交换是基于路由分配Tag,而不是按()属性。Tag交换机根据分组携带的Tag标记以及自己所维持的Tag前传信息进行分组前传。

考题 填空题标记图像文件格式TIFF(Tag Image File Format)是Mac中广泛使用的图像格式,它由Aldus和微软联合开发,它的特点是()、()。

考题 多选题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’.

考题 单选题下列对custom tags的论述哪个不正确()A 是开发者自己定义的tag,可以在JSP页面中使用B JSP中定制标记符,实质上就是以标记的形式封装了一个俱有独立功能的Java类C 必须依靠TLD文件实现custom tag到实现类的映射D 是某些厂商自己实现的JSP扩展

考题 多选题Which three are valid values for the body-content attribute of a tag directive in a tag file?()AELBJSPCEmptyDDynamicEScriptlessFTagdependent

考题 单选题To take advantage of the capabilities of modern browsers that use web standards, such as XHTML andCSS, your web application is being converted from simple JSP pages to JSP Document format. However,one of your JSPs, /scripts/screenFunctions.jsp, generates a JavaScript file. This file is included in severalweb forms to create screen-specific validation functions and are included in these pages with the followingstatement: 10. 11.  14. 15. Which JSP code snippet declares that this JSP Document is a JavaScript file?()A %@ page contentType=’application/javascript’ %B jsp:page contentType='application/javascript' /C jsp:document contentType='application/javascript' /D jsp:directive.page contentType='application/javascript' /E No declaration is needed because the web form XHTML page already declares the MIME type of the /scripts/screenFunctions.jsp file in the script tag. tag.

考题 单选题Assume the tag handler for a st:simple tag extends Simple Tag Support. In what way can scriptlet code beused in the body of st:simple?()A Set the body content type to JSP in the TLDB Scriptlet code is NOT legal in the body of st:simple.C Add scripting-enabled=true to the start tag for the st:simple elementD Add a pass-through Classic tag with a body content type of JSP to the body of st:simple, and place the scriptlet code in the body of that tag