欢迎来到求知题库网 求知题库官网
logo
全部科目 > Java认证考试 > SCWCD(310-083)

多项选择题

You have been contracted to create a web site for a free dating service. One feature is the ability for oneclient 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 inwhich one user inserts JavaScript code that is then rendered and invoked when another user views thatcontent.
Which two JSTL code snippets will prevent cross site hacking in the scenario above? ()

    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’ />

点击查看答案

相关考题

微信小程序免费搜题
微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题