摘要: // 判断不为静态栏目的文章 if (e.getCategory().getName().indexOf("静态") == -1) { articleList2.add(e); } // 判断包含静态栏目的文章 if (e.getCategory().getName().indexOf("静态") != -1) { articleList2.add(e); } ... 阅读全文
posted @ 2017-08-16 15:13 随行-LV 阅读(749) 评论(0) 推荐(0) 编辑
摘要: 文章相关联操作 阅读全文
posted @ 2017-08-10 15:06 随行-LV 阅读(297) 评论(0) 推荐(0) 编辑
摘要: 2、JavaScript 3. Java中字符串中子串的查找共有四种方法,如下: ① int indexOf(String str) :返回第一次出现的指定子字符串在此字符串中的索引。 ② int indexOf(String str, int startIndex):从指定的索引处开始,返回第一次 阅读全文
posted @ 2017-08-04 16:19 随行-LV 阅读(1728) 评论(0) 推荐(0) 编辑
摘要: 解决办法: 编码 全局编码设置 File -> Other Settings -> Default Settings Editor -> File Encodings 工程编码设置 File -> Settings Editor -> File Encodings maven解决办法: 查找了资料, 阅读全文
posted @ 2017-07-10 15:09 随行-LV 阅读(1925) 评论(0) 推荐(0) 编辑
摘要: 在Run/Debug configuration 的 vm options里面输入 -server -XX:PermSize=128M -XX:MaxPermSize=256m 具体如下图: 在Run/Debug configuration 的 vm options里面输入 具体如下图: 阅读全文
posted @ 2017-06-18 12:44 随行-LV 阅读(5331) 评论(0) 推荐(0) 编辑
摘要: 控制器 阅读全文
posted @ 2017-06-17 17:58 随行-LV 阅读(4292) 评论(0) 推荐(0) 编辑
摘要: 通过ajax调用接口获取数据 页面代码 接口代码 阅读全文
posted @ 2017-06-14 18:05 随行-LV 阅读(201) 评论(0) 推荐(0) 编辑
摘要: 环境:Oracle 11g R2 + PL SQL Developer + SQL Plus 问题:Oracle主服务和监听器服务已经启动,使用SQL Plus能够正常连接,使用PL SQL Developer连接报次错误:ORA-12514: TNS: 监听程序当前无法识别连接描述符中请求的服务。 阅读全文
posted @ 2017-02-27 15:43 随行-LV 阅读(34751) 评论(2) 推荐(0) 编辑
摘要: 数据类型 /* 1 数字 number [小数,整数] number(5,3)表示总共5个数字,小数点后3个,最大值99.999 number(5) 表示整数 最大值99999 2 字符 char 定长字符 char(10) 如果没有达到10字符就用空格补充,他所占的大小总是10字符空间 varch 阅读全文
posted @ 2017-02-25 19:30 随行-LV 阅读(12827) 评论(0) 推荐(0) 编辑
摘要: 1、 开始->设置->控制面板->管理工具->服务 停止所有Oracle服务。 2、 开始->程序->Oracle - OraHome81->Oracle Installation Products-> Universal Installer,单击“卸载产品”-“全部展开”,选中除“OraDb11g 阅读全文
posted @ 2017-02-24 13:08 随行-LV 阅读(165) 评论(0) 推荐(0) 编辑