I use a web page with form controls on it. when the user clicks on submit, I try to transfer this information to a servlet. In the servlet I try to attach a value to the request and return it, using a request dispatcher like this. RequestDispatcher dispatcher = getServletContext().getRequestDispatcher("http://www.xyz.com/Index.jsp");
However my servlet returns a error :
java.lang.IllegalArgumentException: Path http://www.xyz.com/Index.jsp does not start with a "/" character
Can anyone help me resolve this issue?