单项选择题
To implement the design intent, which statement must be inserted at line 42?()
A. session = response.getSession();
B. session = request.getSession();
C. session = request.getSession(true);
D. session = request.getSession(false);
E. session = request.getSession(“jsessionid”);
相关考题
-
多项选择题
Giventhatascopedattributecartexistsonlyinauser’ssession,whichtwo,takenindependently,ensurethescopedattributecartnolongerexists?()
A. ${cart = null}
B. <c:remove var="cart" />
C. <c:remove var="${cart}" />
D. <c:remove var="cart" scope="session" />
E. <c:remove scope="session">cart</c:remove>
F. <c:remove var="${cart}" scope="session" />
G. <c:remove scope="session">${cart}</c:remove> -
单项选择题
Which option prevents the exception thrown by my:errorProne from invoking the error page mechanism and outputs the message "File not found" in the response?()
A.A
B.B
C.C
D.D
E.E -
单项选择题
Whichinterfacemustaclassimplementsothatinstancesoftheclassarenotifiedafteranyobjectisaddedtoasession?()
A. javax.servlet.http.HttpSessionListener
B. javax.servlet.http.HttpSessionValueListener
C. javax.servlet.http.HttpSessionBindingListener
D. javax.servlet.http.HttpSessionAttributeListener
