xhttp = new XMLHttpRequest();
doc_name="../Scripts/ResourceFiles/String_Client." + cookieCulture + ".json"
xhttp.open("GET", doc_name, false);
现在得到的路径是
http://www.example.com:4568/Inventory/Scripts/ResourceFiles/String_Client." + cookieCulture + ".json"
但实际上我需要将路径作为http://www.example.com:4568/Scripts/ResourceFiles/String_Client." + cookieCulture + ".json"