网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
单选题
在JSP中使用()指令来声明对标签的引用
A
<@taglib>
B
<taglib>
C
<tag>
D
<attribute>
参考答案
参考解析
解析:
暂无解析
更多 “单选题在JSP中使用()指令来声明对标签的引用A @taglib B taglib C tag D attribute” 相关考题
考题
当我们要在JSP页面中使用自定义标记时需要()
A、在tld文件中定义标记B、创建一个标记处理器C、引入这个标记的标记库,并指定前缀名D、在JSP页面中使用page指令E、在JSP页面中使用taglib指令
考题
下列说法中正确的是( )A、include指令通知容器将当前的JSP页面中内嵌的、在指定位置上的资源内容包含B、include指令中file属性指定要包含的文件名C、include指令只允许你包含动态页面D、Taglib指令允许页面使用者自定义标签
考题
当我们要在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指令为:%@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的编译指令标记通常是指()。A、Page指令、Include指令和Taglib指令B、Page指令、Include指令和Plugin指令C、Forward指令、Include指令和Taglib指令D、Page指令、Param指令和Taglib指令
考题
要使用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" %〉
考题
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’.
考题
单选题要使用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 %〉
考题
多选题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在tld文件中定义标签B创建一个标签处理器C引入这个标签的标签库,并指定前缀名D在JSP页面中使用page指令E在JSP页面中使用taglib指令
考题
单选题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
考题
单选题在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的编译指令标记通常是指()。A
Page指令、Include指令和Taglib指令B
Page指令、Include指令和Plugin指令C
Forward指令、Include指令和Taglib指令D
Page指令、Param指令和Taglib指令
考题
单选题在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”%
热门标签
最新试卷