多选题Which two statements are true about the security-related tags in a valid Java EE deployment descriptor?()AEvery  tag must have at least one  tag.BA  tag can have many  tags.CA given  tag can apply to only one  tag.DA given  tag can contain from zero to

题目
多选题
Which two statements are true about the security-related tags in a valid Java EE deployment descriptor?()
A

Every  tag must have at least one  tag.

B

A  tag can have many  tags.

C

A given  tag can apply to only one  tag.

D

A given  tag can contain from zero to many  tags.

E

It is possible to construct a valid  tag such that,for a given resource,no user rolescan access that resource.

如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

Which two statements apply to policy scheduling?() (Choose two.)

A. An individual policy can have only one scheduler applied.

B. You must manually configure system-time updates.

C. Multiple policies can use the same scheduler.

D. Policies that do not have schedulers are not active.


参考答案:A, C

第2题:

Which two statements apply to policy scheduling?() (Choose two.)

  • A、An individual policy can have only one scheduler applied.
  • B、You must manually configure system-time updates.
  • C、Multiple policies can use the same scheduler.
  • D、Policies that do not have schedulers are not active.

正确答案:A,C

第3题:

●Which one of these statements about connecting to the Internet is true? (68) .

(68) A.The Internet can only be used to link computers with same operating system

B.The Internet can be used to connect computers with different ISP

C.You must have a telephone line to connect to the Internet

D.You must have a modem to connect to the Internet


正确答案:B
【解析】译文:下列关于连接到Internet的说法中,哪一个是正确的?
B选项的译文是:Internet能够连接使用不同ISP(Internet服务提供商)的计算机,因此B是正确的。

第4题:

If you want to use the Java EE platform’s built-in type of authentication that uses a custom HTML page for authentication. Which two statements are true?()

  • A、Your deployment descriptor will need to contain this tag: CUSTOM.
  • B、The related custom HTML login page must be named loginPage.html.
  • C、When you use this type of authentication, SSL is turned on automatically.
  • D、You must have a tag in your deployment descriptor that allows you to point to both a login HTML pageand an HTML page for handling any login errors.
  • E、In the HTML related to authentication for this application, you must use predefined variable names fort he variables that store the user and password values.

正确答案:D,E

第5题:

Which two statements are true about the security-related tags in a valid Java EE deployment descriptor?()

  • A、Every  tag must have at least one  tag.
  • B、A  tag can have many  tags.
  • C、A given  tag can apply to only one  tag.
  • D、A given  tag can contain from zero to many  tags.
  • E、It is possible to construct a valid  tag such that,for a given resource,no user rolescan access that resource.

正确答案:B,E

第6题:

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 JSP
  • B、 The echo tag handler must define the setAttribute (String key, String value) method
  • C、 The true element must appear in the echo tag TLD
  • D、 The class implementing the echo tag handler must implement the javax.sevlet.jsp.tagext.IterationTag interface
  • E、 The class implementing the echo tag handler must implement the javax.sevlet.jsp.tagext.DynamicAttributes interface

正确答案:C,E

第7题:

Which three statements are true about terms in a policy?()

  • A、The order of the terms in a policy is irrelevant
  • B、The action is specified in a then statement
  • C、Ters are optional in a policy
  • D、The match condition can be identified with a from statement
  • E、Every policy must contain at least one term

正确答案:B,D,E

第8题:

Which one of these statements about connecting to the Internet is true?(68).

A.The Internet can only be used to link computers with same operating system

B.The Internet can be used to connect computers with different ISP

C.You must have a telephone line to connect to the Internet

D.You must have a modem to connect to the Internet


正确答案:B
解析:译文:下列关于连接到Internet的说法中,哪一个是正确的?B选项的译文是:Internet能够连接使用不同ISP(Internet服务提供商)的计算机,因此B是正确的。

第9题:

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 TLD
  • D、 The do Start Tag Method must always return SKIP_BODY.
  • E、 The TLD for this tag must NOT include a  tag.

正确答案:C

第10题:

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.

正确答案:B,E

更多相关问题