response.sendRedirect("/test1/success.jsp");
与
response.sendRedirect("http://ocalhost:8080/test1/success,jsp")
效果一样
建议第一种
response.sendRedirect("/test1/success.jsp");
与
response.sendRedirect("http://ocalhost:8080/test1/success,jsp")
效果一样
建议第一种