上一页 1 2 3 4 5 6 7 ··· 18 下一页
摘要: var font = new Font("12pt"); font.setFamily("Arial"); font.setWeight(Font.WEIGHT_BOLD); font.setDecoration("none"); font.setStyle(Font.STYLE_NORMAL); var symbol = new TextSymbol(this.textInput.va... 阅读全文
posted @ 2019-08-28 16:32 zhh 阅读(925) 评论(0) 推荐(0) 编辑
摘要: windows: linux: 阅读全文
posted @ 2019-08-21 15:25 zhh 阅读(2789) 评论(0) 推荐(0) 编辑
摘要: @ResponseBody @RequestMapping(value = "/photo2", method = RequestMethod.GET, produces = MediaType.IMAGE_JPEG_VALUE) public byte[] testphoto() throws IOException { InputStream in = servletContext.getR... 阅读全文
posted @ 2019-07-22 23:02 zhh 阅读(702) 评论(0) 推荐(0) 编辑
摘要: <Connector port="8383" protocol="HTTP/1.1" maxThreads="150" connectionTimeout="20000" compression="on" useSendfile="false" compressionMinSize="2048" n 阅读全文
posted @ 2019-07-09 15:54 zhh 阅读(182) 评论(0) 推荐(0) 编辑
摘要: 使用Operations类下的resample方法(重采样)可以解决这个问题,它的方法定义如下: Coverage org.geotools.coverage.processing.Operations.resample(Coverage source, CoordinateReferenceSys 阅读全文
posted @ 2019-06-29 10:36 zhh 阅读(4237) 评论(0) 推荐(0) 编辑
摘要: private String server = "localhost"; private int port = 8080; @RequestMapping("/**") @ResponseBody public String mirrorRest(@RequestBody String body, HttpMethod method, HttpServletRequest request) ... 阅读全文
posted @ 2019-06-14 15:19 zhh 阅读(1502) 评论(0) 推荐(0) 编辑
摘要: 在application.properties中可通过 ${param}实现参数之间的引用 # application.properties文件 # 项目路径server=192.168.0.1:8080 data.path=${server}/images/log.path=${server}/l 阅读全文
posted @ 2019-01-09 21:48 zhh 阅读(2725) 评论(0) 推荐(0) 编辑
摘要: function saveImageToPdf(idOfHtmlElement) { var fbcanvas = document.getElementById(idOfHtmlElement); html2canvas($(fbcanvas), { onrendered: function (canvas) { ... 阅读全文
posted @ 2018-12-29 16:42 zhh 阅读(234) 评论(0) 推荐(0) 编辑
摘要: mvn -U idea:idea mvn -f pom.xml dependency:copy-dependencies mvn dependency:get -DremoteRepositories=http://repo1.maven.org/maven2/ -DgroupId=junit -D 阅读全文
posted @ 2018-12-12 17:17 zhh 阅读(1412) 评论(1) 推荐(0) 编辑
摘要: 一、问题描述 以前一直正常的网站今天出现了打不开的情况,网站是部署在IIS下的。通过查找IIS的日志文件“Httperr.log”信息,显示“Connections_Refused” 二、解决方案 在网上搜索了相关资料,默认情况下,如果可用的非分页缓冲池内存不足 20MB,IIS 6.0 中的 HT 阅读全文
posted @ 2018-12-03 10:40 zhh 阅读(1202) 评论(0) 推荐(0) 编辑
摘要: 配置镜像by config command npm config set registry http://registry.cnpmjs.orgnpm info underscore (如果上面配置正确这个命令会有字符串response) 命令行指定 npm --registry http://re 阅读全文
posted @ 2018-09-13 23:01 zhh 阅读(260) 评论(0) 推荐(0) 编辑
摘要: Zabbix VS Nagios VS Open-Falcon Zabbix Zabbix是一个企业级的开源分布式监控解决方案,支持实施从数以万计的服务器、虚拟机、网络设备等收集百万的指标数据,具备常见的商业监控软件所具备的功能(主机的性能监控、网络设备性能监控、数据库性能监控、FTP等通用协议监控 阅读全文
posted @ 2018-09-12 15:32 zhh 阅读(1566) 评论(0) 推荐(0) 编辑
摘要: 修改js、java文件后 win按:Ctrl+Shift+F9 mac按:cmd+Shift+F9 tomcat-maven-plugin 启动的项目也用这个快捷键热加载 Build=》Recompile 阅读全文
posted @ 2018-07-13 13:42 zhh 阅读(252) 评论(0) 推荐(0) 编辑
摘要: 1.Between - findByStartDateBetween … where x.startDate between ?1 and ?2 2.LessThan/LessThanEqual LessThan - findByEndLessThan … where x.start< ?1 Les 阅读全文
posted @ 2018-06-10 11:58 zhh 阅读(2622) 评论(0) 推荐(0) 编辑
摘要: var fs = new FeatureSet(jsonFS);var layerDefinition = { "geometryType": "esriGeometryPoint", "drawingInfo": { "renderer": { "type": "simple", "symbol": { ... 阅读全文
posted @ 2017-12-26 15:54 zhh 阅读(348) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 18 下一页