dcsimg
Servlets
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Manish_Sharma
Posted On:   Sunday, August 24, 2003 09:47 PM

When we call a servlet from another servlet, then which method(doGet() or doPost()), will be called of called servlet???

Re: Servlets

Posted By:   Anonymous  
Posted On:   Sunday, August 24, 2003 11:56 PM

Which is the way you are using to call the other Servlet?. If you are using an include or forward (from RequestDispatcher, e.g), the caller method is mantained. That is if your original Servlet uses the doGet method, your called Servlet will use the doGet method.


Bye,

David

About | Sitemap | Contact