重複の可能性:
Access Control Allow Origin not allowed by
Origin is not allowed by Access-Control-Allow-Origin
このコードを使用して、PHP ページから vaadin アプリケーションを呼び出しました。
$.get(
"http://192.168.10.106:8080/FTTBManager/?restartApplication",
{ activate: "1", username: "Ahmed1.Hiwa@gold" },
function(result) {
alert ("Result Was : " +result);
$('#divout').html(result);
},
"text"
)
しかし、次のエラーが表示されます。
Origin localhost は Access-Control-Allow-Origin で許可されていません。