投稿日: 2012/05/09 23:05:22
ローカルPCではなくリモートPCにインストールして使用することもできます。
この場合はローカルPCからブラウザで http://リモートPCのIPアドレス:8080/commander のURLにアクセスします。
また、c:¥AutoCommander¥webapps¥commander¥index.jsp ファイルに記述されている
localhost を リモートPCのIPアドレスに変更する必要があります。
変更箇所は2箇所です。
(1)登録機器情報 検索用 JQuery(JavaScript)
// 接続情報 検索$(function(){ $("#configcheck").click(function(){ //alert($("#ip").val()); $.ajax({ type: "GET", url: "http://localhost:8080/commander/DeviceInfo/" + "Param_" + $("#ip").val() + ".conf", cache: false, success: function(res){(続く)(2)登録コマンド検索用 JQuery(JavaScript)
// コマンド検索$(function(){ $("#commandcheck").click(function(){ $.ajax({ type: "GET", url: "http://localhost:8080/commander/DeviceInfo/" + "Command_" + $("#ip").val() + ".conf", cache: false, success: function(res){ $("#command").val(res); }, }); });});(続く)