I am looking to create a system which on signup will create a subdomain on my website for the users account area.
Cisco Certified Network Associate Exam,640-802 CCNA All Answers ~100/100. Daily update
Cisco Certified Network Associate Exam,640-802 CCNA All Answers ~100/100. Daily update
I try to redirect my page to another using request.getRequestDispatcher("/index.jsp").forward(request, response);
. But it dont work. Why? But when I change it to response.sendRedirect
it work fine.
I think the problem might be because of not using relative url.
ReplyDeleteYou can try like this
request.getRequestDispatcher("index.jsp").forward(request, response);