摘要: 一、管理库的安装 安装pip 提示报错:安装pip提示No module named 'setuptools' Windows环境下Python默认是没有安装setuptools这个模块的,这也是一个第三方模块。下载地址为http://pypi.python.org/pypi/setuptools。 下载后直接运行ez_setup.py 参考地址:http://www.cnblogs.c... 阅读全文
posted @ 2016-10-18 16:52 草旅虫 阅读(190) 评论(0) 推荐(0) 编辑
摘要: Cron Expressions cron的表达式是字符串,实际上是由七子表达式 例 "0 0 12 ? * WED" 在每星期三下午12:00 执行, 每一个字段都有一套可以指定有效值,如 Seconds (秒) :可以用数字0-59 表示, Minutes(分) :可以用数字0-59 表示, H 阅读全文
posted @ 2016-07-17 22:31 草旅虫 阅读(1719) 评论(0) 推荐(1) 编辑
摘要: 1.错误:No mapping for the Unicode character exists in the target multi-byte code page) 解决方法:安装路径具有中文字符 2.错误:An attempt was made to access a socket in a 阅读全文
posted @ 2016-07-13 11:31 草旅虫 阅读(1524) 评论(0) 推荐(0) 编辑
摘要: (1)本地初始化: git init (2)添加远程仓库: git remote add origin git@IP:relativeDir.git,添加完成后会在本地.git/config文件中看到添加的url,也可以修改这个url (3)拉取远程代码: git pull origin maste 阅读全文
posted @ 2016-07-12 09:39 草旅虫 阅读(2118) 评论(0) 推荐(0) 编辑
摘要: INSTR(C1,C2[,I[,J]]) 【功能】在一个字符串中搜索指定的字符,返回发现指定的字符的位置; 【说明】多字节符(汉字、全角符等),按1个字符计算 【参数】 C1 被搜索的字符串 C2 希望搜索的字符串 I 搜索的开始位置,默认为1 J 第J次出现的位置,默认为1 【返回】数值 【示例】 阅读全文
posted @ 2016-07-07 09:16 草旅虫 阅读(442) 评论(0) 推荐(0) 编辑
摘要: @RequestMapping("/tree") @DoLog(cnContent = "权限树初始化", value = false) //@Permission(name = "login.tree") public String tree(HttpServletRequest request, HttpServletResponse response, ZTreeComm... 阅读全文
posted @ 2016-05-30 11:53 草旅虫 阅读(1108) 评论(0) 推荐(0) 编辑
摘要: 1:修改项目目录下:.project文件 GZELearning 2:项目右键属性 --> Web Project Settings --> Context root 3:修改项目目录下:.settings\org.eclipse.wst.common.component 阅读全文
posted @ 2016-05-30 11:53 草旅虫 阅读(751) 评论(0) 推荐(0) 编辑
摘要: 1.请求目标地址可以进行修改的情况下 建议使用降低安全等级方式: response.setHeader("Access-Control-Allow-Origin", "*"); 2.不能修改目标地址 建议使用jsonp方式 阅读全文
posted @ 2016-05-30 11:51 草旅虫 阅读(325) 评论(0) 推荐(0) 编辑
摘要: 1.权限拦截器 通过spring-mvc.xml来配置 public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) throws Except... 阅读全文
posted @ 2016-05-26 15:01 草旅虫 阅读(532) 评论(1) 推荐(0) 编辑
摘要: 为实体类定义别名,简化sql映射xml文件中的引用 我们在sql映射xml文件中的引用实体类时,需要写上实体类的全类名(包名+类名),如下: insert into users(name,age) values(#{name},#{age}) parameterType="me.gacl.domain.User"这里写的实体类User的全类名me.gacl... 阅读全文
posted @ 2016-01-26 16:38 草旅虫 阅读(194) 评论(0) 推荐(0) 编辑