READ Free Dumps For Oracle- 1z0-899
Question ID 4709 | Which method must be used to encode a URL passed as an argument to HttpServletResponse.sendRedirect when using URL rewriting for session tracking? |
Option A | A. ServletResponse.encodeURL |
Option B | B. HttpServletResponse.encodeURL |
Option C | C. ServletResponse.encodeRedirectURL |
Option D | D. HttpServletResponse.encodeRedirectURL |
Correct Answer | D |
Question ID 4710 | Which Java expression can be used to check whether the web container is currently configured to track sessions via URL rewriting? |
Option A | A. servletContext.getSessionCookiesConfiq() .isHttpOnly() |
Option B | B. servletContext.getSessionCookiesConfiq() .isSecure() |
Option C | C. servletContext.getDefaultSessionTrackingModes() .contains(SessionTrackingMode.URL) |
Option D | D. servletContext.getEffectiveSessionTrackingModes() .contains (SessionTrackingMode.URL) |
Correct Answer | D |