Hello to everyone,
I have been in a boring situation in my project.. I can't forward to a jsp page from my servlet.. I found many codes; but none of them worked.. The URL adress never changes.. (Always stays at the same page)
Here's some of codes I tried:
RequestDispatcher rd = request.getRequestDispatcher("/admin.jsp");
rd.forward(request, response);
or
getServletConfig().getServletContext().getRequestDispatcher("/admin.jsp").forward(request, response);
or
response.setHeader("Location","/admin.jsp");
I need ur helps.. Thanx in advance..
Talha