Hai i have one problem. IN my servlet one if condition where i using response.sendRedirect("filepath");it ask for full path like("http://188.8.131.52: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://184.108.40.206:8080/six/page3.jsp". Please do check that the first page from which "Page3.jsp" is being refernced is under the path "http://220.127.116.11:8080/six/".