Q3
Multiple choice
Given:
3. class MyServlet extends HttpServlet {
4. public void doPut(HttpServletRequest req,
HttpServletResponse resp)
throws ServletException, IOException {
5. // servlet code here
...
26. }
27. }
If the DD contains a single security constraint associated with MyServlet and its only <http-method> tags
and <auth-constraint> tags are:
<http-method>GET</http-method> <http-method>PUT</http-method> <auth-constraint>Admin</auth-constraint>
Which four requests would be allowed by the container? (Choose four.)
100% Real Q&As | 100% Real Pass
Select all that apply.