This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes Web Services and the fly likes HTTP Response Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "HTTP Response" Watch "HTTP Response" New topic

HTTP Response

Douglas Rapp

Joined: Nov 29, 2011
Posts: 11

This is kind of a low-level question, perhaps aiming at the HTTP specification itself. I've posed the same basic question at here:

Essentially what I need to know is (and I am currently trying to test this behavior on my test system): is it possible for an HTTP client (say, a web browser or a web service client) to make a request to a server at some IP address (say,, and then receive a response from a different address (say, because the server has more than one valid interface? Or is there anything that would enforce the response packets to go out over the same interface on which the request was received?

If it is possible, is there a way to configure a Windows Server 2008 system (running a Tomcat-deployed web application) to ensure that responses get sent over the same interface as the request?

I agree. Here's the link:
subject: HTTP Response
It's not a secret anymore!