I am getting a request from a JSP (from iPad) to a Servlet (my system). When I send the response to the JSP the browser and iPad app seem to discard the data coming from the proxy due to the missing header.
I set the header as
response.setHeader("Access-Control-Allow-Origin","*");
Access-Control-Allow-Origin is the header name coming from the iPad.
I have seen in the following link
http://en.wikipedia.org/wiki/List_of_HTTP_header_fields
that there is no Access-Control-Allow-Origin header type in Servlet.
Since the testing is going in different places, can you tell me the setheader I add is write one.