/impl/src/web/layout/scripts.jsp |
---|
132,9 → 132,18 |
function ping() |
{ |
$.getJSON( "<%=request.getContextPath()%>/ping.jsp", function( data ) { |
$.ajax({ |
url: "<%=request.getContextPath()%>/ping.jsp", |
type: "POST", |
dataType: "json", |
success: function(resposta) { |
setTimeout("ping()",10000); |
}, |
error: function() { |
setTimeout("ping()",10000); |
} |
}); |
} |
$(document).ready(function() |
{ |