This has been bugging me for awhile so here it goes

I'm currently displaying a jsp page located at /somepath/somefile.jsp

I want to forward the request to a jsp file in the root directory, e.g.
/confirm.jsp, however after forwarding the path location is still
/somepath/, any ideas how to set the path location as well?

HttpServletRequest request,
HttpServletResponse response,
RequestDispatcher disp;

  disp = request.getRequestDispatcher("/confirm.jsp");
  disp.forward(request, response);

resin-interest mailing list

Reply via email to