单项选择题
A.<jsp:import file=’foo.jsp’ />
B.<jsp:import page=’foo.jsp’ />
C.<jsp:include page=’foo.jsp’ />
D.<jsp:include file=’foo.jsp’ />
多项选择题 ForagivenServletResponseresponse,whichtworetrieveanobjectforwritingtextdata?()
多项选择题 Given a header in an HTTP request:X-Retries:4 Which two retrieve the value of the header from a given HttpServletRequest request?()
单项选择题 Your company has a corporate policy that prohibits storing a customer’s credit card number in any corporate database. However, users have complained that they do NOT want to re- enter their credit cardnumber for each transaction. Your management has decided to use client-side cookies to record the user’scredit card number for 120 days. Furthermore, they also want to protect this information during transit fromthe web browser to the web container; so the cookie must only be transmitted over HTTPS. Which codesnippet creates the "creditCard" cookie and adds it to the out going response to be stored on the user’s webbrowser?()