nerdexam
Oracle

1Z0-899 · Question #145

Assume the scoped attribute priority does NOT yet exist.Which two create and set a new request- scoped attribute priority to the value "medium"? (Choose two.)

The correct answer is D. <c:set var="priority" scope="request">medium</c:set> E. <c:set var="priority" value="medium" scope="request" />. See the full explanation below for the reasoning.

Question

Assume the scoped attribute priority does NOT yet exist.Which two create and set a new request- scoped attribute priority to the value "medium"? (Choose two.)

Options

  • A${priority = 'medium'}
  • B${requestScope['priority'] = 'medium'}
  • C<c:set var="priority" value="medium" />
  • D<c:set var="priority" scope="request">medium</c:set>
  • E<c:set var="priority" value="medium" scope="request" />
  • F<c:set property="priority" scope="request">medium</c:set>
  • G<c:set property="priority" value="medium" scope="request" />

How the community answered

(43 responses)
  • A
    12% (5)
  • B
    2% (1)
  • D
    74% (32)
  • F
    2% (1)
  • G
    9% (4)

Community Discussion

No community discussion yet for this question.

Full 1Z0-899 Practice