Which Java expression can be used to check whether the web container is currently configured to track
A. servletContext.getSessionCookiesConfiq() .isHttpOnly()
B. servletContext.getSessionCookiesConfiq() .isSecure()
C. servletContext.getDefaultSessionTrackingModes() .contains(SessionTrackingMode.URL)
D. servletContext.getEffectiveSessionTrackingModes() .contains (SessionTrackingMode.URL)
Correct Answer: D
沒有留言:
張貼留言