阿摩線上測驗 登入

試題詳解

試卷:無年度 - Java EE 6 Web Component Developer Certified Expert Exam:1z0-899(1-50)#84202 | 科目:OCE

試卷資訊

試卷名稱:無年度 - Java EE 6 Web Component Developer Certified Expert Exam:1z0-899(1-50)#84202

科目:OCE

複選題
43 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.) IT Certification Guaranteed, The Easy Way! 17
(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' />
正確答案:登入後查看