单选题Which method must be used to encode a URL passed as an argument to  HttpServletResponse.sendRedirect when using URL rewriting for session tracking?()AServletResponse.encodeURLBHttpServletResponse.encodeURLCServletResponse.encodeRedirectURLDHttpServletR

题目
单选题
Which method must be used to encode a URL passed as an argument to  HttpServletResponse.sendRedirect when using URL rewriting for session tracking?()
A

 ServletResponse.encodeURL

B

 HttpServletResponse.encodeURL

C

 ServletResponse.encodeRedirectURL

D

 HttpServletResponse.encodeRedirectURL


相似考题