关于JSP标记文件下列说法不正确的是()
第1题:
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? ()
第2题:
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?()
第3题:
在JSP中使用()指令来声明对标签的引用
第4题:
标记交换是基于路由分配Tag,而不是按()属性。Tag交换机根据分组携带的Tag标记以及自己所维持的Tag前传信息进行分组前传。
第5题:
第6题:
Assume the tag handler for a st:simpletag extends SimpleTagSupport. In what way can scriptlet code be used in the body of st:simple?()
第7题:
Tag files can only be accessed using a tagdir attribute.
The sort.jsp page translates successfully and invokes the tag defined by beta.tag.
The sort.jsp page produces a translation error because a taglib directive must always have a uriattribute.
Tag files can only be placed in /WEB-INF/tags, and NOT in any subdirectories of /WEB- INF/tags.
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.
第8题:
Set the body content type to JSP in the TLD
Scriptlet code is NOT legal in the body of st:simple
Add scripting-enabled= “true” to the start tag for the st:simple element
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.
第9题:
第10题:
The prefix ’java’ is reserved.
The URI ’myTags’ must be properly mapped to a TLD file by the web container.
A translation error occurs because the prefix is considered identical by the web container.
For the tag usage
第11题:
EL
JSP
Empty
Dynamic
Scriptless
Tagdependent
第12题:
Set the body content type to JSP in the TLD
Scriptlet code is NOT legal in the body of st:simple.
Add scripting-enabled=true to the start tag for the st:simple element
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
第13题:
PHP的文件上传功能,需要在php.ini配置当中,开启哪项功能?()
第14题:
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.
第15题:
下列对custom tags的论述哪个不正确()
第16题:
使用自定义标签时,要为JSP引擎提供有关自定义标签的相关信息,下列信息描述语句正确的是()。
第17题:
Given in a single JSP page: <%@ taglib prefix=’java’ uri=’myTags’ %> <%@ taglib prefix=’JAVA’ uri=’moreTags’ %> Which two are true?()
第18题:
Which three are valid values for the body-content attribute of a tag directive in a tag file?()
第19题:
Tag File是JSP2.0新增的功能
Tag File是JSP1.2新增的功能
Tag File可以让网页开源直接使用Jsp语法制作标签
Tag File的扩展名可以是.tag
第20题:
第21题:
A
The echo tag handler must define the setAttribute (String key, String value) method
The
The class implementing the echo tag handler must implement the javax.sevlet.jsp.tagext.IterationTag interface
The class implementing the echo tag handler must implement the javax.sevlet.jsp.tagext.DynamicAttributes interface
第22题:
是开发者自己定义的tag,可以在JSP页面中使用
JSP中定制标记符,实质上就是以标记的形式封装了一个俱有独立功能的Java类
必须依靠TLD文件实现custom tag到实现类的映射
是某些厂商自己实现的JSP扩展
第23题:
<%@ page contentType=’application/javascript’ %>
<jsp:page contentType='application/javascript' />
<jsp:document contentType='application/javascript' />
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.