nerdexam
Oracle

1Z0-899 · Question #153

1Z0-899 Question #153: Real Exam Question with Answer & Explanation

Sign in or unlock 1Z0-899 to reveal the answer and full explanation for question #153. The question stem and answer options stay visible for context.

Question

You have been contracted to create a web site for a free dating service. One feature is the ability for one client to send a message to another client, which is displayed in the latter client's private page. Your contract explicitly states that security is a high priority. Therefore, you need to prevent cross-site hacking in which one user inserts JavaScript code that is then rendered and invoked when another user views that content. Which two JSTL code snippets will prevent cross-site hacking in the scenario above? (Choose two.)

Options

  • A<c:out>${message}</c:out>
  • B<c:out value='${message}' />
  • C<c:out value='${message}' escapeXml='true' />
  • D<c:out eliminateXml='true'>${message}</c:out>
  • E<c:out value='${message}' eliminateXml='true' />

Unlock 1Z0-899 to see the answer

You've previewed enough free 1Z0-899 questions. Unlock 1Z0-899 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full 1Z0-899 Practice