- 博客(10)
- 收藏
- 关注
转载 ajax 跨域 restful
最终解决方案加Filterimport java.io.IOException; import java.io.PrintStream; import java.io.PrintWriter; import java.io.StringWriter; import ja...
2017-06-19 12:57:00 99
转载 表情符号识别与过滤
贴一份表情符号处理的代码,方便以后使用~~。public class EmojiFilterUtil { /** * 检测是否有emoji字符 * * @param source * @return 一旦含有就抛出 */ public static boolean...
2017-02-07 16:43:00 359
转载 环信-简单操作
这段时间因为公司项目,接触到环信这个第三方即使通信工具。。用他做消息推送,即时聊天。。这些是他提供的功能源码。。配置:RestAPIConfig.properties将信息填入:API_SERVER_HOSTAPPKEYAPP_CLIENT_IDAPP_CLIENT_SE...
2016-12-26 09:43:00 87
转载 el传值到jquery
el传值到jquery在jsp上面,可以将el与js混写。这样可以处理一些,js取值不方便问题。<script type="text/javascript">//statusEnum是个枚举。 var statusList=[]; <c:set var=...
2016-12-26 09:16:00 119
转载 mybatis 中使用foreach 循环查询
class CompanyQueryParamDto下 /** 多城市id */ private List<Long> cityIds;xml<if test="cityIds != null and cityIds.size() > 0"> and ...
2016-10-18 16:16:00 758
转载 将maven中央库没有的包导入本地库
遇到 maven中央库没有的情况,所有就把他弄到自己本地库中:mvn install:install-file-Dfile= 文件地址-DgroupId=包名-DartifactId=项目名-Dversion=版本号-Dpackaging=jar-Dfile=jar文件所在路径...
2016-10-17 18:11:00 185
转载 时间处理
###Java:/** 日期转字符串,返回指定格式yyyy-MM-dd */public static String getDateToString(Date date, String format) { if (date == null) return null; Simp...
2016-09-03 12:38:00 71
转载 layer 弹出窗体
case.js触发按钮:'<button type="button" class="btn btn-success btn-xs pf-photo-case-btn"><i class="glyphicon glyphicon-pencil"></i>案...
2016-08-26 21:25:00 158
转载 You have an error in your SQL syntax;
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'limit=11 whe...
2016-08-26 21:12:00 94
转载 Duplicate entry '2-0-1' for key 'block_id' 问题(数据重复提交)
Duplicate entry '2-0-1' for key 'block_id' 问题(数据重复提交)索引——唯一索引 转载于:https://my.oschina.net/u...
2016-08-26 20:43:00 318
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人