I was wondering how to go about this problem .
I have a servlet that generates an xml documnet and sends the contents
to server A this has to be done in the background and transparent to the user. Server A verfies the data and send back the xml doc with extra information . I need to strip this and display it to the user
The problem i face is how to i capture the response from server A
as well.
RequestDispatcher dis = req.getRequestDispatcher("../server_A_URL");
dis.forward(req, res);
How to i capture the response back from server A after the forward ?
Any suggestion would gre
I have a servlet that generates an xml documnet and sends the contents
to server A this has to be done in the background and transparent to the user. Server A verfies the data and send back the xml doc with extra information . I need to strip this and display it to the user
The problem i face is how to i capture the response from server A
as well.
RequestDispatcher dis = req.getRequestDispatcher("../server_A_URL");
dis.forward(req, res);
How to i capture the response back from server A after the forward ?
Any suggestion would gre