![]() |
NOTE:
These slides have not been updated since 2003. They have been superseded by the book
Anders Møller and Michael Schwartzbach, February 2006 |
![]() ![]() ![]() | INTERACTIVE WEB SERVICES WITH JAVA |
![]() ![]() ![]() |
Forwarding a request to another Servlet using RequestDispatcher:
RequestDispatcher dispatcher = getServletContext().getRequestDispatcher("/my_other_app/servlet/SomeServlet"); dispatcher.forward(request, response); |
request.setAttribute(String,String) can be used to supply extra data to the new handler
![]() | COPYRIGHT © 2002-2003 ANDERS MØLLER & MICHAEL I. SCHWARTZBACH |
![]() |