Oracle
1Z0-899 · Question #182
Which method must be used to encode a URL passed as an argument to HttpServletResponse. sendRedirect when using URL rewriting for session tracking?
The correct answer is D. HttpServletResponse.encodeRedirectURL. See the full explanation below for the reasoning.
Question
Which method must be used to encode a URL passed as an argument to HttpServletResponse. sendRedirect when using URL rewriting for session tracking?
Options
- AServletResponse.encodeURL
- BHttpServletResponse.encodeURL
- CServletResponse.encodeRedirectURL
- DHttpServletResponse.encodeRedirectURL
How the community answered
(40 responses)- A3% (1)
- B5% (2)
- C10% (4)
- D83% (33)
Community Discussion
No community discussion yet for this question.