In JSP, the response is an implicit object of writing HttpServletResponse. The occurrence of HttpServletResponse is generated by the web container for each and every jsp request.
It can be made in use to add or manipulate replies for example redirect replies to another resource, send errors, etc.
Response implicit objects are redirecting the reply to Google, let's check the example given below:
index.html
<form action="welcome.jsp"> <input type="text" name="uname"> <input type="submit" value="go"><br/> </form>
welcome.jsp
<% response.sendRedirect("http://www.google.com"); %>
Output