Best Practice to send a request to 2 destinations?
posted 8 years ago
Hi, I am developing a servlet A that receives a HTTP POST request from a client B with a XML Stream as payload. I transform the Stream via XSLT and send the result with httpcommons from apache to a client C. At the same time I am sending the "normal" response back to client B. It sound weird but it works so far. But I think thats should be a better solution to send the result to the client C. Thats my code for that: