摘要: html <input id="PageContext" type="hidden" value="${pageContext.request.contextPath}" /> js function download_file() { var PageContext = $("#PageConte 阅读全文
posted @ 2018-11-06 17:33 seeYagain 阅读(233) 评论(0) 推荐(0) 编辑
摘要: 1、最外层为zip. 可包含多个文件夹。 2、每个文件夹中的文件可以为.gz , .zip , .xml 。 gz和xml为xml的压缩文件。 3、输出读取的xml文件 public class readXML { public static void main(String[] args) { t 阅读全文
posted @ 2018-11-02 11:19 seeYagain 阅读(792) 评论(0) 推荐(0) 编辑
摘要: try { String path = "E/a.zip"; ZipFile zf = new ZipFile(path,Charset.forName("gbk")); Enumeration<? extends ZipEntry> zs = zf.entries(); while (zs.has 阅读全文
posted @ 2018-11-01 17:58 seeYagain 阅读(2118) 评论(0) 推荐(0) 编辑
摘要: keySet是键的集合,Set里面的类型即key的类型entrySet是 键-值 对的集合,Set里面的类型是Map.Entry 1.keySet() Map map=new HashMap(); Iterator it=map.keySet().iterator(); Object key; Ob 阅读全文
posted @ 2018-11-01 17:02 seeYagain 阅读(156) 评论(0) 推荐(0) 编辑
摘要: /************************************************************************** *从指定的原点出发,偏移输入角度后,向此方向延伸输入距离,返回此时的位置 *origin_lon:原点经度 *origin_lat:原点纬度 *az 阅读全文
posted @ 2018-11-01 16:27 seeYagain 阅读(4340) 评论(0) 推荐(1) 编辑
摘要: /** * 计算两个经纬度之间的距离 (lon1,lat1),(lon2,lat2) * @param lan1 * @param lat1 * @param lan2 * @param lat2 * @return */ public static double GetDistance(doubl 阅读全文
posted @ 2018-11-01 16:22 seeYagain 阅读(274) 评论(0) 推荐(0) 编辑
摘要: getElementById("id")获取的元素在使用时:1)使用children;2)使用childNodes。 1) 在使用children时,获取到的元素只是标签中的元素 2)在使用childNodes时,如果ID元素的前后包含换行、空格等,这些特殊的符号也会占用一个childNodes[i 阅读全文
posted @ 2018-10-23 17:40 seeYagain 阅读(1024) 评论(0) 推荐(0) 编辑
摘要: </div> <div id="coverview" title="覆盖场景" class="easyui-layout"> <div data-options="region:'west',title:'覆盖场景'" style="width:75%;height:100%"> <img styl 阅读全文
posted @ 2018-10-23 16:32 seeYagain 阅读(596) 评论(0) 推荐(0) 编辑