Bomberry Bill wrote:
> We are using forward(HttpServletRequest, HttpServletResponse) invoked on an
> instance of RequestDispatcher to forward work from Servlet A to Servlet B.
> We are processing the doPost method on A and wish to invoke the doGet method
> on B. If you Forward from a doPost it appears to forward to a doPost. Does
> anyone know of a way to forward from a doPost on Servlet A to a doGet on
> Servlet B?
>
You will not be able to use RequestDispatcher.forward() to do this. The request
method must be the same for both servlets/JSP pages.
>
> regards,
> Bill Bomberry
>
Craig McClanahan
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets