<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" contentType="text/html;charset=UTF-8"%> <% String path = request.getContextPath(); String redirectURL = request.getQueryString(); String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/"; %> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <base href="<%=basePath%>"> <title>同步数据</title> <meta http-equiv="pragma" content="no-cache"> <meta http-equiv="cache-control" content="no-cache"> <meta http-equiv="expires" content="0"> <script type="text/javascript"> function todata(){ var path ="<%=path%>"; //var url =path+"/todata_2.jsp?companyid="+document.getElementById("companyid").value; var url =path+"/platform/sync/todata_2.jsp"; document.getElementById("tuisong").style.display="none"; document.getElementById("clicksong").style.display="block"; document.getElementById("ifr_cnt").style.display="block"; document.getElementById("ifr_cnt").src=url; } </script> </head> <body style="text-align: center;"> <div style="margin-top: 100px;"> 同步数据 <input type="button" id="tuisong" onclick="todata();" value="推送" style="width:80px;border: 1px solid blue;"/> <!-- 输入公司id:<input type="text" id="companyid" value="11330101" /> --> </div> <div style="display: none;font-size: 16px;color: red;margin-top: 30px;" id="clicksong">推送的数据较多,请耐心等待,请勿关闭或刷新当前浏览器!!!</div> <br/><br/><br/> <iframe style="display: none;border: 1px solid grey;" id="ifr_cnt" name="ifr_cnt" src="" width="1000" height="300" frameborder="no" border="0" marginwidth="0" marginheight="0" scrolling="no" ></iframe> </body> </html>