Given a servlet mapped to /control, place the correct URI segment returned as a String on the corresponding HttpServletRequest method call for the URI: /myapp/control/processorder.
Select and Place:

Select and Place:

Given the JSP code:
10.
11.
12.
13.
Hello, ${customer.title} ${customer.lastName}, welcome
14.
to Squeaky Beans, Inc.
15.
16.
Which three types of JSP code are used? (Choose three.)
A. Java code
B. template text
C. scripting code
D. standard action
E. expression language
Which three are valid URL mappings to a servlet in a web deployment descriptor? (Choose three.)
A. */*
B. *.do
C. MyServlet
D. /MyServlet
E. /MyServlet/*
F. MyServlet/*.jsp
Given:
11.
public class MyServlet extends HttpServlet {
12.
public void service(HttpServletRequest request,
13.
HttpServletResponse response)
14.
throws ServletException, IOException {
15.
// insert code here
16.
}
17.
}
and this element in the web application's deployment descriptor:
Which, inserted at line 15, causes the container to redirect control to the error.html resource?
A. response.setError(302);
B. response.sendError(302);
C. response.setStatus(302);
D. response.sendRedirect(302);
E. response.sendErrorRedirect(302);
A JSP page contains a taglib directive whose uri attribute has the value dbtags. Which XML element within the web application deployment descriptor defines the associated TLD?
A.
B.
C.
D.
Which mechanism requires the client to provide its public key certificate?
A. HTTP Basic Authentication
B. Form Based Authentication
C. HTTP Digest Authentication
D. HTTPS Client Authentication
Which three are valid values for the body-content attribute of a tag directive in a tag file? (Choose three.)
A. EL
B. JSP
C. empty
D. dynamic
E. scriptless
F. tagdependent
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.
B. <%! int count = 0; %>
C.
D.
Click the Exhibit button. Given:
11.
<% com.example.Advisor advisor = new com.example.Advisor(); %>
12.
<% request.setAttribute("foo", advisor); %>
Assuming there are no other "foo" attributes in the web application, which three are valid EL expressions for retrieving the advice property of advisor? (Choose three.)

A. ${foo.advice}
B. ${request.foo.advice}
C. ${requestScope.foo.advice}
D. ${requestScope[foo[advice]]}
E. ${requestScope["foo"]["advice"]}
F. ${requestScope["foo"["advice"]]}
Which two from the web application deployment descriptor are valid? (Choose two.)
A.
B.
C.
D.
E.