1Z1-899 試験問題を無料オンラインアクセス
試験コード: | 1Z1-899 |
試験名称: | Java EE 6 Web Component Developer Certified Expert Exam |
認定資格: | Oracle |
無料問題数: | 132 |
更新日: | 2025-09-15 |
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.)
You want to create a filter for your web application and your filter will implement
.servlet.Filter.
Which two statements are true? (Choose two)
Assume a JavaBean com.example.GradedTestBean exists and has two attributes. The attribute name of type java.lang.string and the attribute score is of type jave.lang.Integer.
An array of com.example.GradedTestBean objects is exposed to the page in a request-scoped attribute called results. Additionally, an empty java.util.HashMap called resultMap is placed in the page scope.
A JSP page needs to add the first entry in results to resultMap, storing the name attribute of the bean as the key and the score attribute of the bean as the value.
Which code snippet of JSTL code satisfies this requirement?