최신Oracle Java EE 6 Web Component Developer Certified Expert - 1Z1-899무료샘플문제
When using Servlet asynchronous API if you want to dispatch the request back to a particular url -"/url" within the same Servlet Context which of the following API would you use?
View the Exhibit.

Which two technologies would be suitable for use as Front Controller elements? (Choose two)
Given the JavaBean class:
public class MyBean {
private Boolean roasted = false;
public MyBean () {}
public Boolean isRoasted () { returned roasted }
public void setRoasted (Boolean roasted) { this.roasted = roasted; ]
}
Assume a controller has created an instance of this bean, called setRoasted (true), and inserted the bean into the application scope using the name "myBean".
A JSP contains these two tags:
<jsp: useBean id = "aBean" class = "MyBean" scope = "page" \ />
<jsp: getProprty name = "aBean" property = "roasted" \ />
Which is true?
When using Servlet asynchronous API if you want to dispatch the request back to a particular url - "url" within the same ServletContext which of the following API would you use?
A Client wants to find out the size of an image file for which it has a URL, without downloading any of the bytes that comprise the image right away.
Which HTTP method should it use?
Which two statements are true about the security-related tags in a valid Java EE deployment descriptor?
(Choose two)
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?
Given the definition of Myobject and that an instance of Myobject is bound as a session attribute:
8. package com.example;
9. public class Myobject implements
10. javax.servlet.http.HttpSessionBindingListener {
11. // class body code here
12. }
Which is true?