To set the character encoding for the response body, use the __________ method of HttpServletResponse.

  • setCharacterEncoding()
  • setContentType()
  • setEncoding()
  • setResponseEncoding()
The setCharacterEncoding() method of HttpServletResponse is used to set the character encoding for the response body.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *