問題詳情

43 You have been contracted to create a web site for a free dating service. One feature is theability for one client to send a message to another client, which is displayed in the latter client'sprivate page. Your contract explicitly states that security is a high priority. Therefore, you need toprevent cross-site hacking in which one user inserts JavaScript code that is then rendered andinvoked 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' />

參考答案

無參考答案

內容推薦