jsp implicit object response object

is the instance of the class HttpServletResponse class.The HttpServletResponse class implements interface javax.servlet.ServletResponse.

Jsp implicit object response Methods:

response.getWriter().println(“print something n jsp page”);

this getWriter() method gives you writer which has print() to print the stuff on jsp page.the text which you want to print is passed as a parameter.

response.sendRedirect(“url”);

this method is used to redirect to the url specified as a parameter.

Jsp implicit object response is now successfully loaded in you memory congrats

congrats 🙂
If you really like the article do comment and share to show support.

Leave a Reply

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