The method response.sendRedirect() is not working in my program. it is redirecting to next Page. I also tried
response.sendRedirect("home.jsp");
return ;
But still it doesnot work
Directory image has been attached
protected void doGet(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
String userAction = request.getParameter("action");
response.sendRedirect("Test1.jsp"); }
While in debuging the controller move on response.sendRedirect but it is not redirecting to other page.