To set multiple values for the same header, use the __________ method in HttpServletResponse.

  • addHeader()
  • appendHeader()
  • setHeader()
  • setMultipleValuesHeader()
The addHeader() method in HttpServletResponse is used to add multiple values for the same header, allowing for flexibility in handling headers with multiple values.
Add your answer
Loading...

Leave a comment

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