Hai i have one problem. IN my servlet one if condition where i using response.sendRedirect("filepath");it ask for full path like("http://22.214.171.124:8080/six/page3.jsp") when i give response.sendRedirect("page3.jsp"); it is not working. i don't know why? pls . help me. Thanks, Arun.
Hi! When you use sendRedirect() or forward() they expect to have the relative virual URL. If the first page and the coming page are have the same virtual dirctory , you don't need to give the full path. But if they don't then you need to give path like "http://126.96.36.199:8080/six/page3.jsp". Please do check that the first page from which "Page3.jsp" is being refernced is under the path "http://188.8.131.52:8080/six/".