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

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

在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”%>

参考答案

更多 “在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”%” 相关考题
考题 在J2EE中,在my.jsp中使用标记扩展,下列选项正确的是() A.%@taglibURL=”/hello”prefix=”examples”%B.%@taglibURI=”/hello”prefix=”examples”%C.%@tagliburl=”/hello”prefix=”examples”%D.%@tagliburi=”/hello”prefix=”examples”%

考题 假设在helloapp应用中有一个hello.jsp,文件路径为C:/Tomcat/webapps/helloapp/hello/hello.jsp那么在浏览器端访问hello.jsp的URL是()A、http://localhost:8080/hello.jspB、http://localhost:8080/helloapp/hello.jspC、http://localhost:8080/helloapp/hello/hello.jspD、http://localhost:8080/helloapp/hello

考题 假设在helloapp应用中有一个hello.jsp,它的文件路径如下:%JA VA_HOME%/webapps/helloapp/hello/hello.jsp 那么在浏览器端访问hello.jsp的URL是什么? ()A.http://localhost:8080/hello.jspB.http://localhost:8080/helloapp/hello.jspC.http://localhost:8080/helloapp/hello/hello.jspD.http://localhost:8080/webapps/helloapp/hello/dello.jsp

考题 假设在helloapp应用中有一个hello.jsp,它的文件路径如下:%JAVA_HOME%/webapps/helloapp/hello/hello.jsp,那么在浏览器端访问hello.jsp的URL为()。 A、http://localhost:8080/hello.jspB、http://localhost:8080/helloapp/hello.jspC、http://localhost:8080/helloapp/hello/hello.jspD、http://localhost:8080/webapps/helloapp/hello/dello.jsp

考题 以下选项中,哪一项不是JSP指令()。A、pageB、importC、includeD、taglib

考题 AJSPpagecontainsataglibdirectivewhoseuriattributehasthevaluedbtags.WhichXMLelementwithinthewebapplicationdeploymentdescriptordefinestheassociatedTLD?() 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

考题 下列选项中,()是正确的表达式。 A、% String s = “hello world ” ;%  B、% = “hello world ” ;% C、% = “hello world ” %  D、% ! “hello world ” %

考题 假设在helloapp应用中有一个hello.jsp,它的文件路径如下:TOMCAT_HOME%/webapps/helloapp/hello/hello.jsp那么在浏览器端访问hello.jsp的URL是什么?()A、http://localhost:8080/hello.jspB、http://localhost:8080/helloapp/hello.jspC、http://localhost:8080/helloapp/hello/hello.jsp

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

考题 在linux系统中,要向当前所有登录用户发布消息:Hello!,应使用()命令。A、wall "Hello!"B、write "Hello!"C、talk "Hello!"D、mesg "Hello!"

考题 在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中如果要导入java.io.*包,应该使用()指令。A、pageB、includeC、forwardD、taglib

考题 一个taglib指令必须有哪些属性?()A、value prefixB、url loactionC、url prefixD、url value

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

考题 单选题下面哪个方法不属于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”%

考题 单选题要使用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 %〉

考题 单选题在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的编译指令标记通常是指()。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”%

考题 单选题下列选项中,()是正确的表达式。A % String s = “hello world ” ;%  B % = “hello world ” ;% C % = “hello world ” %  D % ! “hello world ” %