title: Writing response from Java Http Server to jQuery
body: <p>I wrote some Java program working on iSeries server. It can handle all Http requests to this server.
  I also wrote Html page which is opened on local computer and I use some jQuery (Ajax) requests to iSeries server and I want to get some data from program which is running on it.</p>
  
  <p>My server program sees that it gets some requests (POST and GET) with all parameters etc. and responses to it.</p>
  
  <p>Unfortunately jQuery can't read answer data while simple Java program written and run on my local computer connects to iSeries server can read all responses from this server.</p>
  
  <p>How can I write response in Java which will be avaiable to be read by jQuery?</p>