invoking one servlet from another and also how to forward a request from one servlet to another?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   kamalanathan_vijatt
Posted On:   Monday, April 29, 2002 06:24 PM


1 have 2 servlet pages. i will pass info from the first servlet page which will be proceesd in the second servlet.then, from the 2nd servlet i should invoke the 3rd servlet. the 3rd servlet should do some processing and give the response to the 1st servlet. In this how to invoke another servlet ? and how to remember the 1st servlet address in order to send the response from the last(3rd) servlet??????Please give a solution??

Re: invoking one servlet from another and also how to forward a request from one servlet to another?

Posted By:   AlessandroA_Garbagnati  
Posted On:   Tuesday, April 30, 2002 12:48 AM

Hi,

Check out the RequestDispatcher object, and the two methods forward() and include(). You can find additional info on here searching through the FAQs and the Forum threads.
About | Sitemap | Contact