When you use the forward methodology below how will the receiving Servlet
handle the request forwarded from another servlet?  Is it handled by the
doGet or doPost or can it be forwarded to a specific method within the
BookDBServlet Servlet?

Thanks,

Cory

At 01:49 PM 9/6/00 +0200, Lars Heller wrote:
>
>> getServletConfig().getServletContext()
>> .getServlet("bookstore.BookDBServlet");
>The method ServletContext.getServlet(String) is deprecated since version
>2.1. In the spec it is stated, that servlet engines should always return
>null.
>
>Instead (for forwarding to this servlet), use the RequestDispatcher:
>getServletConfig().getServletContext()
>.getRequestDispatcher("bookstore.BookDBServlet")
>.forward(request, response);
>
>

Reply via email to