1.

What temporarily redirects response to the browser?(a) (b) (c) response.sendRedirect(URL)(d) response.setRedirect(URL)The question was posed to me at a job interview.This interesting question is from JSP Elements topic in section Session Management, JSP & API of Java

Answer»

Right CHOICE is (c) response.sendRedirect(URL)

The best I can EXPLAIN: response.sendRedirect(URL) directs response to the BROWSER and creates a new request.



Discussion

No Comment Found

Related InterviewSolutions