It is handled by the get or post depending on whether it is a get or post
request - i.e. it goes to the same place it originally went in the first
servlet.
Cory Adams wrote:
> 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);
> >
> >
--
Dave Smith
Software Development Manager
e-Net Software Limited
Bath
United Kingdom
[EMAIL PROTECTED]
begin:vcard
n:Smith;Dave
tel;cell:+44 797 0008867
tel;work:+44 1225 445610
x-mozilla-html:TRUE
url:http://www.enetgroup.co.uk
org:e-Net Software Ltd
adr:;;26-45 Cheltenham Street;Bath;;BA2 3EX;United Kingdom
version:2.1
email;internet:[EMAIL PROTECTED]
title:Software Development Manager
fn:Dave Smith
end:vcard