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

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

Tag文件中的attribute指令有怎样的作用? 


参考答案

更多 “Tag文件中的attribute指令有怎样的作用? ” 相关考题
考题 在J2EE中,关于JSP文件中的page指令在JSP文件中出现的位置和次数,正确的是()。 A.page指令可以在JSP中的任何地方,以任何顺序出现B.一个JSP文件可以有任意多个page指令C.一个JSP文件只能有一个page指令D.在整个JSP文件中,虽然可以有多个page指令,但是任何属性/值对只能出现一次

考题 Page指令用于定义JSP文件中的全局属性,下列关于该指令用法的描述不正确的是:()A、 Page指令用于定义JSP文件中的全局属性,下列关于该指令用法的描述不正确的是:()A、作用于整个JSP页面。B、可以在一个页面中使用多个指令。C、为增强程序的可读性,建议将指令放在JSP文件的开头,但不是必须的。D、指令中的属性只能出现一次。

考题 An ASP.NET application hosts a RESTful Windows Communication Foundation (WCF) service at /Services/Contoso.svc.The service provides a JavaScript resource to clients. You have an explicit reference to the JavaScript in your page markup as follows.You need to retrieve the debug version of the service JavaScript. What should you do?()A. In the %@ ServiceHost % header for /Services/Contoso.svc, set the Debug attribute to true.B. In the %@ Page % header, set the Debug attribute to true.C. In the script tag, add a debug attribute and set its value to true.D. In the script tag, append debug to the src attribute.

考题 Tag文件中的tag指令可以设置哪些属性的值?

考题 Tag文件应当存放在怎样的目录中? 

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

考题 Assume a tag handler extends TagSupport. Which is used within the tag handler to get an attribute “foo” that is in the application scope?()A、 pageContext.getAttribute(“foo”);B、 getPageContext().getAttribute(“foo”);C、 pageContext.getApplicationScope(“foo”);D、 pageContext.getAttribute(“foo”,pageContext.APPLICATION_SCOPE).getAttribute(“foo”);E、 getPageContext().getScope(pageContext.APPLICATION_SCOPE).getAttribute(“foo”);

考题 Given the Tag:   Assuming the tag referenced by my Tags: get Advice uses the Classic event model,  which is true?()A、 The do After Body method is called.B、 The doEnd Tag method is NOT called.C、 The type attribute may be specified in the TLDD、 The do Start Tag Method must always return SKIP_BODY.E、 The TLD for this tag must NOT include a  tag.

考题 Under what two circumstances is the set JspBody method NOT called in a tag class that implements the Simple Tag interface? ()A、 The tag is invoked without a body.B、 The doTAb method throws an exception.C、 The  element has the value empty.D、 The tag is called with the attribute skip-body=true

考题 在J2EE中,关于JSP文件中的page指令在JSP文件中出现的位置和次数,正确的是()。 A、page指令可以在JSP中的任何地方,以任何顺序出现B、一个JSP文件可以有任意多个page指令C、一个JSP文件只能有一个page指令D、在整个JSP文件中,虽然可以有多个page指令,但是任何属性/值对只能出现一次

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

考题 在()中存储描述web应用程序的元数据。A、jspB、jar文件C、Tag文件D、web.xml

考题 Tag文件中的varibute指令有怎样的作用? 

考题 DA A指令的作用是什么?怎样使用?

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

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

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

考题 单选题Assume a tag handler extends TagSupport. Which is used within the tag handler to get an attribute “foo” that is in the application scope?()A  pageContext.getAttribute(“foo”);B  getPageContext().getAttribute(“foo”);C  pageContext.getApplicationScope(“foo”);D  pageContext.getAttribute(“foo”,pageContext.APPLICATION_SCOPE).getAttribute(“foo”);E  getPageContext().getScope(pageContext.APPLICATION_SCOPE).getAttribute(“foo”);

考题 多选题A custom tag is defined to take three attributes. Which two correctly invoke the tag within a JSP page?()Aprefix:myTag a=foo b=bar c=baz /Bprefix:myTag attributes={foo,bar,baz} /Cprefix:myTag jsp:attribute a=foo b=bar c=baz /Dprefix:myTagjsp:attribute name=afoo/jsp:attributejsp:attribute name=bbar/jsp:attributejsp:attribute name=cbaz/jsp:attribute. /prefix:myTag

考题 问答题简述链接器命令文件中MEMORY和SECTIONS两条指令的作用。

考题 单选题Given the Tag:   Assuming the tag referenced by my Tags: get Advice uses the Classic event model,  which is true?()A  The do After Body method is called.B  The doEnd Tag method is NOT called.C  The type attribute may be specified in the TLDD  The do Start Tag Method must always return SKIP_BODY.E  The TLD for this tag must NOT include a  tag.

考题 多选题Under what two circumstances is the set JspBody method NOT called in a tag class that implements the Simple Tag interface? ()AThe tag is invoked without a body.BThe doTAb method throws an exception.CThe  element has the value empty.DThe tag is called with the attribute skip-body=true

考题 问答题Tag文件中的tag指令可以设置哪些属性的值?

考题 问答题Tag文件应当存放在怎样的目录中?

考题 问答题Tag文件中的attribute指令有怎样的作用?

考题 问答题Tag文件中的varibute指令有怎样的作用?