多项选择题
Your web application requires the ability to load and remove web files dynamically to the web container’s filesystem. Which two HTTP methods are used to perform these actions?()
A.PUT B.POST C.SEND D.DELETE E.REMOVE
You need to create a servlet filter that stores all req...
单项选择题
You need to create a servlet filter that stores all request headers to a database for all requests to the webapplication’s home page "/index.jsp". Which HttpServletRequest method allows you to retrieve all of therequest headers?()
A.String[] getHeaderNames() B.String[] getRequestHeaders() C.java.util.Iterator getHeaderNames() D.java.util.Iterator getRequestHeaders() E.java.util.Enumeration getHeaderNames()
ForanHttpServletResponseresponse,whichtwocreateacustomh...
多项选择题For an HttpServletResponse response,which two create a custom header?()
A.response.setHeader("X-MyHeader", "34"); B.response.addHeader("X-MyHeader", "34"); C.response.setHeader(new HttpHeader("X-MyHeader", "34")); D.response.addHeader(new HttpHeader("X-MyHeader", "34")); E.response.addHeader(new ServletHeader("X-MyHeader", "34"));
Click the Exhibit button. Given the HTML form: 1. 2. 3...
单项选择题 Click the Exhibit button. Given the HTML form: 1. 2. 3. 4.Name: 5.Price: 6. 7. 8. 9. Assume the product attribute does NOT yet exist in any scope. Which code snippet, in submit.jsp,instantiates an instance of com.example.Product that contains the results of the form submission?()
A. B. C. D.