网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
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’.
参考答案
更多 “ 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’.” 相关考题
考题
When creating a class that associates a set of keys with a set of values, which of these interfaces is most applicable?() A、CollectionB、SetC、SortedSetD、Map
考题
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? ()A、 A element in the echo tag LTD must have the value JSPB、 The echo tag handler must define the setAttribute (String key, String value) methodC、 The true element must appear in the echo tag TLDD、 The class implementing the echo tag handler must implement the javax.sevlet.jsp.tagext.IterationTag interfaceE、 The class implementing the echo tag handler must implement the javax.sevlet.jsp.tagext.DynamicAttributes interface
考题
Given a portion of a valid Java EE web application’s directory structure: MyApp | |-- File1.html | |-- Directory1 ||-- File2.html| |-- META-INF |-- File3.html You want to know whether File1.html, File2.html, and/or File3.html will be directly accessible by your webclient’s browsers. Which statement is true?()A、All three files are directly accessible.B、Only File1.html is directly accessible.C、Only File2.html is directly accessible.D、Only File3.html is directly accessible.E、Only File1.html and File2.html are directly accessible.
考题
小程序重载的本质是什么?()A、先调用stop函数,再调用start函数B、小调用destroy函数,在调用init函数C、先卸载小程序,在重新下载小程序代码,载如、运行小程序D、先调用System.destory函数清楚所有对象,在调用System.out.run函数运行小程序
考题
A session-scoped attribute is stored by a servlet, and then that servlet forwards to a JSP page. Which threejsp:useBean attributes must be used to access this attribute in the JSP page?()A、idB、nameC、beanD、typeE、scope
考题
以下哪些包是Java标准库中常用的包?() A、java.langB、javax.servlet .httpC、j ava. ioD、java.sql
热门标签
最新试卷