08 2018 档案
摘要:draw() { // ctx.fillStyle = "rgb(red,0,0)"; //设置填充色 // ctx.fillStyle="red"; //画矩形 // ctx.fillRect(10, 90, 100, 120); //画出矩形 实心的 ctx.fillStyle = "rgba(254, 254, 2...
阅读全文
摘要:1. 导入富文本编辑器js包(kindeditor-4.1.10) 链接:https://pan.baidu.com/s/1LIxzjOWkw1HdgfXwxoYp7g 密码:zsrr 2. jsp中引入如下js 3. jsp 中添加如下标签 4. 初始化富文本编辑器 5. 提交表单的方法中 提交之
阅读全文
摘要:1. 在source中添加资源文件 resource.properties 2. applicationContext-dao.xml 中添加 <!-- 加载配置文件 --> <context:property-placeholder location="classpath:resource/*.p
阅读全文
摘要:1. java 上传文件到 ftp 服务器 2. 需要导入 commons-net.jar 包
阅读全文
摘要:1. nginx 需要依赖以下模块: gzip模块需要 zlib 库 rewrite模块需要 pcre 库 ssl 功能需要openssl库 1.1.安装pcre 1. 获取pcre编译安装包,在http://www.pcre.org/上可以获取当前最新的版本 2. 解压缩pcre-xx.tar.g
阅读全文
摘要:第一步:引入pageHelper的jar包。 链接:https://pan.baidu.com/s/1m3EyAmd_eoAsay0aM7uEkA 提取码:xmfi 第二步:需要在SqlMapConfig.xml中配置插件。 第三步:在查询的sql语句执行之前,添加一行代码: 第一个参数是page,
阅读全文
摘要:1、source为http模式,sink为logger模式,将数据在控制台打印出来。 conf配置文件如下: # Name the components on this agent a1.sources = r1 a1.sinks = k1 a1.channels = c1 # Describe/c
阅读全文
摘要:安装m4 wget http://mirrors.kernel.org/gnu/m4/m4-1.4.13.tar.gz \ && tar -xzvf m4-1.4.13.tar.gz \ && cd m4-1.4.13 \ && ./configure -prefix=/usr/local make
阅读全文
摘要:1. 导入逆向工程代码 generatorSqlmapCustom 链接:https://pan.baidu.com/s/1l9Jk89b2Jz5hwEKWBZ5kGw 密码:u3eb 2. 对 generatorConfig.xml 配置文件进行配置 <?xml version="1.0" enc
阅读全文