1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- <%@ page language="java" contentType="text/html; charset=UTF-8"
- pageEncoding="UTF-8"%>
- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title>Insert title here</title>
- <script src="static/js/jquery-1.11.1.js"></script>
- <script type="text/javascript">
- var urls = new Array();
- urls.push(["http://192.168.57.37:18080/jsjy","111"]);
- urls.push(["http://10.1.30.117:8080/jsjy","省局"]);
- urls.push(["http://112.4.174.66:8090/jsjy/","淮安"]);
- urls.push(["http://221.224.9.194:5952/jsjy/","苏州"]);
- urls.push(["http://211.103.49.236:8081/jsjy/","连云港"]);
- urls.push(["http://58.221.239.213:8081/jsjy/","南通"]);
- urls.push(["http://10.32.0.120:8081/jsjy","南通2"]);
- urls.push(["http://222.187.126.162:8081/jsjy/","徐州"]);
- urls.push(["http://10.13.18.50:8081/jsjy","徐州2"]);
- urls.push(["http://58.221.88.199:8081/jsjy","南通内河"]);
- urls.push(["http://218.92.205.156:18081/jsjy","盐城"]);
- urls.push(["http://221.231.126.3:18081/jsjy","盐城内河"]);
- urls.push(["http://61.160.77.229:9000/jsjy/","无锡"]);
- urls.push(["http://10.3.0.20:9000/jsjy/","无锡2"]);
- urls.push(["http://218.90.243.178:7010/jsjy","泰州"]);
- urls.push(["http://10.10.1.28:7010/jsjy","泰州2"]);
- urls.push(["http://222.185.255.10:38081/jsjy/","常州"]);
- urls.push(["http://58.217.112.41:7103/jsjy/","镇江"]);
- urls.push(["http://221.226.102.115:9090/jsjy","南京"]);
- urls.push(["http://61.177.182.197:8081/jsjy","扬州"]);
- urls.push(["http://61.147.254.211:6088/jsjy","宿迁"]);
- function IsLoad(url,name){
- $.ajax({
- type: 'get',
- url: url,
- cache: false,
- dataType: "jsonp",
- processData: false,
- timeout:10000,
- complete: function (data) {
- if (data.status==200) {
- $("body").html($("body").html()+"<br>"+name+':可以访问');
- } else {
- $("body").html($("body").html()+"<br>"+name+':error');
- }
- }
- });
- }
- $(document).ready(function() {
- for(var i=0;i<urls.length;i++){
- IsLoad(urls[i][0],urls[i][1]);
- }
- });
-
- </script>
- </head>
- <body>
- </body>
- </html>
|