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

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

要使用JSTL的核心标签库,需要在JSP源文件的首部加入如下什么声明语句?()

  • A、〈%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %〉
  • B、〈%@ taglib prefix="x" uri="http://java.sun.com/jsp/jstl/xml" %〉
  • C、〈%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %〉
  • D、〈%@ taglib prefix="sql" uri="http://java.sun.com/jsp/jstl/sql" %〉

参考答案

更多 “要使用JSTL的核心标签库,需要在JSP源文件的首部加入如下什么声明语句?()A、〈%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %〉B、〈%@ taglib prefix="x" uri="http://java.sun.com/jsp/jstl/xml" %〉C、〈%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %〉D、〈%@ taglib prefix="sql" uri="http://java.sun.com/jsp/jstl/sql" %〉” 相关考题
考题 当我们要在JSP页面中使用自定义标签时需要()。A、在tld文件中定义标签B、创建一个标签处理器C、引入这个标签的标签库,并指定前缀名D、在JSP页面中使用page指令E、在JSP页面中使用taglib指令

考题 下列对于JSTL的说法正确的是()。A、JSTL是指(JavaServer Pages Standard Tag Library,JSP)标准标记库B、JSTL特别为条件处理、迭代、国际化、数据库访问和可扩展标记语言(XML)处理提供支持C、JSTL在应用程序服务器之间提供了一致的接口,最大程序地提高了WEB应用在各应用服务器之间的移植。D、JSTL简化了JSP和WEB应用程序的开发。E、JSTL以一种统一的方式减少了JSP中的scriptlet代码数量

考题 JSP标准标签库(JSTL)包含用于编写和开发JSP页面的一组标准标签,按照标签的功能不同,将标签划分为()两个标签库。A、通用标签库B、条件标签库C、核心标签库D、SQL标签库

考题 JSP标准标签库(JSTL)的标签库描述符文件的后缀是()A、.tldB、.jarC、.jspD、.class

考题 在J2EE中,在my.jsp中使用标记扩展,下列选项正确的是()A、%@ taglib URL=”/hello”  prefix=”examples”% B、%@ taglib URI=”/hello”  prefix=”examples”% C、%@ taglib url=”/hello”  prefix=”examples”% D、%@ taglib uri=”/hello”  prefix=”examples”%

考题 A JSP page contains a taglib directive whose uri attribute has the value dbtags. Which XML element withinthe web application deployment descriptor defines the associated TLD?()A、tlduridbtags/urilocation/WEB-INF/tlds/dbtags.tld/location/tldB、tagliburidbtags/urilocation/WEB-INF/tlds/dbtags.tld/location. /taglibC、tld. tld-uridbtags/tld-uri. tld-location/WEB-INF/tlds/dbtags.tld/tld-location . /tldD、taglibtaglib-uridbtags/taglib-uritaglib-location/WEB-INF/tlds/dbtags.tld. /taglib-location. /taglib

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

考题 下面哪个方法不属于JSP指令:()A、jsp:param name=”username” value=”liu”/B、%@include file=”head.jsp”%C、%@taglib uri=”/struts.tags” prefix=”s”%D、%@page contectType=”texthtml,charset=gb2312”%

考题 在JSP中,若要在JSP正确使用标签:,在jsp中声明的taglib指令为:%@tagliburi=“/WEB-INF/myTags.tld”prefix=“()”%。A、xB、getKingC、myTagsD、king

考题 在java程序中的my.jsp中要使用标记扩展,下列选项正确的是()。A、%@taglib URL=“/hello”prefix=“examples”%B、%taglib URI=“/hello”prefix=“examples”%C、%@taglib url=“/hello”prefix=“examples”%D、%@taglib uri=“/hello”prefix=“examples”%

考题 在JSP页面上使用JSTL标签时,应使用JSP指令()导入标签库描述符文件。A、 pageB、 taglibC、 tagD、 lib

考题 在JSP中,()动作用于将文件包含入JSP页面。A、pageB、forwardC、includeD、taglib

考题 在JSP中,()指令用于将文件嵌入JSP页面。A、pageB、forwardC、includeD、taglib

考题 以下有关JSTL的说法不正确的是()。A、JSTL就是一个JSP标签库B、核心标签库为日常任务提供通用支持C、国际化标签库支持多语种的应用程序D、函数标签库提供了许多用于XML处理的标准EL函数

考题 JSP的哪个指令允许页面使用者自定义标签库?()A、Include指令B、Taglib指令C、Plugin指令

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

考题 Which the JSTL code snippet can be used to import content from another web resource?()A、 c:import url=*foo.jsp”/ B、 c:import page=*foo.jsp”/ C、 c:include url=*foo.jsp”/ D、 c:include page=*foo.jsp”/ E、 Importing cannot be done in JSTL. A standard action must be used instead.

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

考题 单选题下面哪个方法不属于JSP指令:()A jsp:param name=”username” value=”liu”/B %@include file=”head.jsp”%C %@taglib uri=”/struts.tags” prefix=”s”%D %@page contectType=”texthtml,charset=gb2312”%

考题 单选题JSP标准标签库(JSTL)的标签库描述符文件的后缀是()A .tldB .jarC .jspD .class

考题 单选题要使用JSTL的核心标签库,需要在JSP源文件的首部加入如下什么声明语句?()A 〈%@ taglib prefix=c uri=http://java.sun.com/jsp/jstl/core %〉B 〈%@ taglib prefix=x uri=http://java.sun.com/jsp/jstl/xml %〉C 〈%@ taglib prefix=fmt uri=http://java.sun.com/jsp/jstl/fmt %〉D 〈%@ taglib prefix=sql uri=http://java.sun.com/jsp/jstl/sql %〉

考题 多选题当我们要在JSP页面中使用自定义标签时需要()。A在tld文件中定义标签B创建一个标签处理器C引入这个标签的标签库,并指定前缀名D在JSP页面中使用page指令E在JSP页面中使用taglib指令

考题 单选题在J2EE中,在my.jsp中使用标记扩展,下列选项正确的是()A %@ taglib URL=”/hello”  prefix=”examples”% B %@ taglib URI=”/hello”  prefix=”examples”% C %@ taglib url=”/hello”  prefix=”examples”% D %@ taglib uri=”/hello”  prefix=”examples”%

考题 单选题在JSP中,若要在JSP正确使用标签:,在jsp中声明的taglib指令为:。A xB getKingC myTagsD king

考题 单选题在JSP页面上使用JSTL标签时,应使用JSP指令()导入标签库描述符文件。A  pageB  taglibC  tagD  lib

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

考题 单选题在java程序中的my.jsp中要使用标记扩展,下列选项正确的是()。A %@taglib URL=“/hello”prefix=“examples”%B %taglib URI=“/hello”prefix=“examples”%C %@taglib url=“/hello”prefix=“examples”%D %@taglib uri=“/hello”prefix=“examples”%