1Z0-858 試験問題を無料オンラインアクセス
| 試験コード: | 1Z0-858 |
| 試験名称: | Java Enterprise Edition 5 Web Component Developer Certified Professional Exam |
| 認定資格: | Oracle |
| 無料問題数: | 276 |
| 更新日: | 2026-12-06 |
A developer is designing a multi-tier web application and discovers a need to log each incoming client request. Which two patterns, taken independently, provide a solution for this problem? (Choose two.)
Assume a JavaBean com.example.GradedTestBean exists and has two attributes. The attribute name is of type java.lang.String and the attribute score is of type java.lang.Integer.
An array of com.example.GradedTestBean objects is exposed to the page in a requestscoped 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?
Given the web application deployment descriptor elements:
11.
<filter>
12.
<filter-name>ParamAdder</filter-name>
13.
<filter-class>com.example.ParamAdder</filter-class>
14.
</filter> ...
24.
<filter-mapping>
25.
<filter-name>ParamAdder</filter-name>
26.
<servlet-name>MyServlet</servlet-name>
27.
<!-- insert element here -->
28.
</filter-mapping>
Which element, inserted at line 27, causes the ParamAdder filter to be applied when MyServlet is invoked by another servlet using the RequestDispatcher.include method?
Given the element from the web application deployment descriptor:
<jsp-property-group> <url-pattern>/main/page1.jsp</url-pattern> <scripting-invalid>true</scripting-invalid> </jsp-property-group>
and given that /main/page1.jsp contains:
<% int i = 12; %> <b><%= i %></b> What is the result?