Hi all,
How i make a call servlet to servlet.... code & description is needed.
Please help me..
Thanking you.
Rishi.

What exactly do you want to achieve?
Do you want to continue processing a request received in one servlet in another one or do you want to include the result from one servlet call into the result of another?

If the first, you need only 2 lines of code:

RequestDispatcher rd = request.getRequestDispatcher(dispatch);
rd.forward(request, response);

(dispatch is the URI inside the same web application you are forwarding to).

If the second you have more work to do, probably involving an HttpURLConnection and some Streams to capture the result.
You may want to do that in a separate thread as well and somehow be notified when you have retrieved all the information.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.