hi i am trying to redirect to my page and i get an error.
first of all using object HttpServletResponse it has method sendRedirect which throws an Exception or one of its subclasses during compilation i didn't specify any try blocks or throws at my method and it didn't give me an error during compilation.
Ok i have a
servlet which has both doGet and doPost methods implemented. When in my doPost method i have this
response.sendRedirect("../servlets/Chat.html");
it doesn't redirect to that page what to do ? Thanks.