Multiple choice

Which of the following methods in HttpServletRequest returns any query string in the URI?

  1. String getMethod()

  2. String getQueryString()

  3. String getPathInfo()

  4. String getRemoteUser()

  5. String getRequestURI()

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

 String getQueryString() : This interface in HttpServletRequest returns any query string in the URI.