Hello everyone,
When access a java-backend webscript over IP address, I can handle the response as json object as I have defined. But when I access it over a host name, the response.json seem not work.
What is actually I mean is
[XXX.XXX.XXX.XXX]: [port]/share/page/webscript : No error, and response.json != null so I can handle it via client java script.
[hostname]: [port]/share/page/webscript: Error happens, and response.json = null, I cannot handle the response.
Note that, the hostname is online, I got it OK on localhost.
Thanks for your help.