최신Oracle Java EE 6 Web Component Developer Certified Expert - 1Z1-899무료샘플문제
문제1
View the exhibit.

Assume the tag library in the exhibit is placed in a web application in the path /WEB-INF/tld/example.tld.
1.
2. <ex:hello />
Which JSP code, inserted at line 1, completes the JSP code to invoke the hello tag?
View the exhibit.

Assume the tag library in the exhibit is placed in a web application in the path /WEB-INF/tld/example.tld.
1.
2. <ex:hello />
Which JSP code, inserted at line 1, completes the JSP code to invoke the hello tag?
정답: D
문제2
View the Exhibit.

Which two technologies would be suitable for use as Front Controller elements? (Choose two)
View the Exhibit.

Which two technologies would be suitable for use as Front Controller elements? (Choose two)
정답: A,E
설명: (KoreaDumps 회원만 볼 수 있음)
문제3
A web application for business expense reporting allows uploading expense receipts. Multiple receipts can be uploaded single step using one HTTP request. The servlet that processes the request has been marked with the
@MultipartConfig annotation.
Which method should the servlet use to access the uploaded files?
A web application for business expense reporting allows uploading expense receipts. Multiple receipts can be uploaded single step using one HTTP request. The servlet that processes the request has been marked with the
@MultipartConfig annotation.
Which method should the servlet use to access the uploaded files?
정답: C
설명: (KoreaDumps 회원만 볼 수 있음)
문제4
A developer chooses to avoid using singieThreadModel but wants to ensure that data If; updated in a thread safe manner.
Which two can support this design goal? (Choose two)
A developer chooses to avoid using singieThreadModel but wants to ensure that data If; updated in a thread safe manner.
Which two can support this design goal? (Choose two)
정답: D,E
문제5
You are building a web application with a scheduling component. On the JSP, you need to show the current date, the date of the previous week, and the date of the next week.
To help you present this information, you have created the following EL functions in the 'd' namespace:
* Name : curData; signature: java.util.utilDate CurrentDate()
* Name : curData; signature: java.util.utilDate addweek (java.util.Date, int)
* Name: dateString; signature: java.util.String getDataString (jave.util.Data) Which EL code snippet will generate the string for the previous week?
You are building a web application with a scheduling component. On the JSP, you need to show the current date, the date of the previous week, and the date of the next week.
To help you present this information, you have created the following EL functions in the 'd' namespace:
* Name : curData; signature: java.util.utilDate CurrentDate()
* Name : curData; signature: java.util.utilDate addweek (java.util.Date, int)
* Name: dateString; signature: java.util.String getDataString (jave.util.Data) Which EL code snippet will generate the string for the previous week?
정답: C
문제6
Which two are true about the JSTL core iteration custom tags? (Choose two.)
Which two are true about the JSTL core iteration custom tags? (Choose two.)
정답: A,D
문제7
Given the annotation for MyServlet:
@WebServlet{"/abc")
@ServletSecurity (value=@HttpConstraint)
public class Myservlet extends Httpservlet {
Which two are true? (Choose two)
Given the annotation for MyServlet:
@WebServlet{"/abc")
@ServletSecurity (value=@HttpConstraint)
public class Myservlet extends Httpservlet {
Which two are true? (Choose two)
정답: B,D
문제8
For manageability purposes, you have been told to add a "count" instance variable to a critical JSP Document so that a JMX MBean can track how frequent this JSP is being invoked.
Which JSP code snippet must you use to declare this instance variable in the JSP Document?
For manageability purposes, you have been told to add a "count" instance variable to a critical JSP Document so that a JMX MBean can track how frequent this JSP is being invoked.
Which JSP code snippet must you use to declare this instance variable in the JSP Document?
정답: A
문제9
View the Exhibit.

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>
...
31. <filter-mapping>
32. <filter-name>ParamAdder</filter-name>
33. <servlet-name>Destination</servlet-name>
34. </filter-mapping>
...
55. <servlet-mapping>
56. <servlet-name>Destination</servlet-name>
57. <url-pattern>/dest/Destination</url-pattern>
58. </servlet-mapping>
What is the result of a client request of the Source servlet with no query string?
View the Exhibit.

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>
...
31. <filter-mapping>
32. <filter-name>ParamAdder</filter-name>
33. <servlet-name>Destination</servlet-name>
34. </filter-mapping>
...
55. <servlet-mapping>
56. <servlet-name>Destination</servlet-name>
57. <url-pattern>/dest/Destination</url-pattern>
58. </servlet-mapping>
What is the result of a client request of the Source servlet with no query string?
정답: D