多项选择题
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. 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 JSP page needs to instantiate a JavaBean to be used by only that page. Which two jsp:useBeanattributes must be used to access this attribute in the JSP page?()
单项选择题 Your web application views all have the same header, which includes the <title> tag in the <head> elementof the rendered HTML. You have decided to remove this redundant HTML code from your JSPs and put itinto a single JSP called /WEB-INF/jsp/header.jsp. However, the title of each page is unique, so you havedecided to use a variable called pageTitle to parameterize this in the header JSP, like this: 10.<title>${param.pageTitle}<title> Which JSP code snippet should you use in your main view JSPs to insert the header and pass thepageTitle variable?()