I have a getRequestDispatcher in my servlet that should redirect to an anchor url:
RequestDispatcher view = request.getRequestDispatcher("index.jsp#stuff");
view.forward(request, response);
And in my jsp page (called index.jsp), I have a modal with the id "stuff". Why is the servlet not redirecting it back to the modal??
Thanks!