aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • Java and JSP Programming Fundamentals
  • Which of the following is not a method of HttpServletResp...
Multiple choice

Which of the following is not a method of HttpServletResponse Object in JSP (Java Server Pages)?

  1. String encodeURL(String url)

  2. void setLocale(Locale loc)

  3. addCookie(Cookie cookie)

  4. void reset()

  5. boolean isSecure()

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

This method is not defined in HttpServletRequest Object in JSP.

Keep practicing — related questions

  • Which of the following is/are not method(s) of HttpServletRequest interface in java servlet?
  • Which of the following is not a method of Cookies class in java servlet?
  • Which method takes the HttpServletRequest and HttpServletResponse objects as its arguments
  • Which of the following methods of the HttpSevletResponse interface is used to write a cookie to a users mac...
  • Which of the following methods is not present in the HttpCookie class in java?
  • What is the method name of the Java Class "Cookie" to be used to indicate to the browser whether the cookie...
  • Which of the following aren't the methods for state/session management in the context of Servlets?
  • Which of the following classes in Servlets provides methods to handle HTTP requests and responses?
Play the full quiz 🎤 Practise this topic out loud

Practice this topic

  • Java Enterprise and Web Technologies (2183 questions)
Advertisement
© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy