What did you forward from?

If you're forwarding from a doPost method, the servlet you're forwarding to
will call doPost. Same principal applies to a RequestDispatcher forwarding from
a doGet method.

ServletA 
 doPost ->forward -> ServletB 
                      doPost

The HttpServletRequest has post data or get data. 


--- Peter Lee <[EMAIL PROTECTED]> wrote:
> When using the Requestdispatcher, how do you select to call doPost or
> doGet method of servlet? How to specify which one to call?
> 
> Thanks.
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 


=====
http://dhtmlkitchen.com/
JSP | Servlets | DHTML 

Garrett Needs A Job

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to