This is a more can I, then a how to question. When I send data to a servlet, and they are both on the same domain, I use :
$.post('action.do', {arrayData:myArray, mode:"insert"});
or something similar. If, for example, I have html running within an android app on my device and I have a server in the cloud, can I perform something such as :
$.post('http://www.example.com/action.do', {arrayData:myArray, mode:"insert"});
Where example.com is the domain I have the server on, is this possible? Thanks