上一页 1 ··· 40 41 42 43 44 45 46 47 48 ··· 55 下一页

2017年8月18日

Spring @CacheEvict 无效。。。。

摘要: 使用 此 注解 时。。。需要 配置 它 的 key 。。。。 阅读全文

posted @ 2017-08-18 15:15 正义的伙伴! 阅读(6192) 评论(0) 推荐(0) 编辑

2017年8月16日

poi 导入 excel (需要 jdk 1.8 版本 或者 以上。。。)

摘要: package org.dcexam.cms.core.plugin; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.lang.reflect.Field; import java.text.Deci... 阅读全文

posted @ 2017-08-16 16:04 正义的伙伴! 阅读(2635) 评论(0) 推荐(0) 编辑

Accept 限定 类型

摘要: HTML input="file" 浏览时只显示指定文件类型 xls、xlsx、csv html input=”file” 浏览时只显示指定文件类型 xls、xlsx、csv <input id="fileSelect" type="file" accept=".csv, application/v 阅读全文

posted @ 2017-08-16 16:03 正义的伙伴! 阅读(1576) 评论(0) 推荐(0) 编辑

eclipse 快捷键

摘要: ctrl + q 查看 接口 定义 ctrl + t 查看 接口 实现 。。 ctrl + 鼠标 移动到方法名 。。。查看 以上两个。。。 阅读全文

posted @ 2017-08-16 11:28 正义的伙伴! 阅读(109) 评论(0) 推荐(0) 编辑

2017年8月15日

python 格式化数据表

摘要: # coding=utf-8 import pymysql import os host="localhost" user="root" password="root" db="exam" exceptTables=["exam_question_type",'exam_function','exam_admin_group'] conn = pymysql.connect(host=ho... 阅读全文

posted @ 2017-08-15 11:01 正义的伙伴! 阅读(256) 评论(0) 推荐(0) 编辑

2017年8月11日

Idea 配置

摘要: 填入下面的license server: http://intellij.mandroid.cn/ http://idea.imsxm.com/ http://idea.iteblog.com/key.php(小写PHP) 提示忽略大小写: ctrl+shift+s 搜索 sensitive 将 值 阅读全文

posted @ 2017-08-11 15:25 正义的伙伴! 阅读(134) 评论(0) 推荐(0) 编辑

beetl if else 报 语法 错误。。。。

摘要: @if(item.qtid==1){ @} @else if(item.qtid==2){ @} @if(item.qtid==1){ @} @else if(item.qtid==2){ @} 看着没错。。但是 注意i if 和 else if 间 有一个 空格!!!!!! 有空格会报错。。。。。 阅读全文

posted @ 2017-08-11 11:01 正义的伙伴! 阅读(5162) 评论(0) 推荐(0) 编辑

Java 中 正则

摘要: java 正则 与 其他略有不同 java中 转义字符为 \\ 而不是 \ 例如: String replaceAll = contents.replaceAll("\\@\\{([A-Z]{1})\\}", "_____"); 将 @{A-Z} 替换为 ____ 阅读全文

posted @ 2017-08-11 08:55 正义的伙伴! 阅读(136) 评论(0) 推荐(0) 编辑

2017年8月10日

html h1 居中

摘要: text-align : center ;;.... 就是这样简单 阅读全文

posted @ 2017-08-10 16:36 正义的伙伴! 阅读(622) 评论(0) 推荐(0) 编辑

mybatis 自定义 拦截器

摘要: 转载的。。。。。http://zhenghuazhi.iteye.com/blog/1468992 页面输入:男,数据库保存male,女,数据库保存为female。 使用interceptor,typeHandler Java代码 package cn.dcr.mybatis.util; impor 阅读全文

posted @ 2017-08-10 10:34 正义的伙伴! 阅读(13767) 评论(0) 推荐(0) 编辑

上一页 1 ··· 40 41 42 43 44 45 46 47 48 ··· 55 下一页

导航

//增加一段JS脚本,为目录生成使用