Hi, I have written a JSP page and in that i am redirecting it to another page. Now after redirection i am printing a statement on the console. It is getting printed whereas when i am printing the same on the browser i am not able to print that. Please can any one tell me the difference between printing the same on the console and browser.
My first JSP page(one.jsp) <% response.sendRedirect("two.jsp"); out.println("After redirect"); System.out.println("After out"); %>
My second JSP(two.jsp) <% out.println("In two.jsp"); %>