adplus-dvertising
frame-decoration

Question

Which of the following is true about response.sendRedirect(url)?

a.

The sendRedirect sends HTTP temporary redirect response to the browser.

b.

Request data gets lost in case of sendRedirect.

c.

Both of the above.

d.

None of the above.

Answer: (c).Both of the above.

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which of the following is true about response.sendRedirect(url)?

Similar Questions

Discover Related MCQs

Q. What is the use of c:set tag?

Q. If a jsp is to generate a pdf page, what attribute of page directive it should use?

Q. What is the correct signature of jspDestroy() method of HttpJspPage class?

Q. Which of the following is not a jsp directive?

Q. Which of the following is true about Cleanup phase in JSP life cycle?

Q. What JSTL stands for?

Q. Which of the following is a server side technology?

Q. PageContext is instance of which class?

Q. Which of the following is true about info Attribute?

Q. Which of the following attributes are used in jsp:include tag?

Q. Which of the following is true about Initialization phase in JSP life cycle?

Q. What is the correct signature of _jspService() method of HttpJspPage class?

Q. Which of the following is not a valid attribute of a page directives?

Q. Which of the following programming languages is used to create programs like applets?

Q. The _______ specification defines an application programming interface for communication between the server and the application program

Q. State true or false: Servlets are used to generate dynamic responses to HTTP requests.

Q. Which of these functions is not a part of the servlet lifecycle

Q. Which of the following application servers do not provide built in support for servlets?

Q. What is the full form of JSP?

Q. While using Javascript, the browser parses the HTML code into a tree like structure defined by a standard called ________