`
daichangfu
  • 浏览: 264609 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论
文章列表
Can't init enough connections amount! Only 0 from 10 were initialized. Server: /10.100.13.122:6379   vi redis.conf 注释:#bind 127.0.0.1 protected-mode yes 改成 protected-mode no
/^((1[3,5,8][0-9])|(14[5,7])|(17[0,6,7,8]))\d{8}$/  
@MappedSuperclass public abstract class BaseAuditModel extends BaseCrmModel{ /** * UID */ private static final long serialVersionUID = 8886136517524378574L; public abstract String[][] getAuditPropertys(); //需要审计的字段名称 }   @Entity @Table(name = "crm_user") public clas ...

tomcat热部署配置

    博客分类:
  • java
  在apache-tomcat-6.0.32\bin\catalina.bat 的顶部加上set JAVA_OPTS=-javaagent:xxx\jrebel.jar -noverify  

ExtJS 复制对象

1.Ext.apply 无法复制 Ext.data.JsonStore 等数据源相关的类型 var store2 = new Ext.data.JsonStore({}); var store3={}; Ext.apply(store2,magazine_store); //效果无用.store2仍引用magazine_store,无法独立使用. Ext.apply(store3,magazine_store); //效果同上. store3=Ext.apply(store2,magazine_store); //效果同上.  2.复制JSON对象 var records = [ ...
 如上图红线标注的,第一个是个版权号,后面的就是两个中文文字,但是变成了两个口的样子。网站部署在了 Linux(CentOS 6.3) + tomcat6.037下。这个问题在我本地电脑是没有的,我本地电脑是win7。 【解决办法】 Linux上需要安装中文字体,JRE里面也要安装中文字体的,在$JAVA_HOME/jre/lib/fonts下新建一个fallback目录,复制程序用到的字体进去 参考资料:http://ginge.iteye.com/blog/640693
public class Gate { private int counter = 0; private String name = "Nobody"; private String address = "Nowhere"; private final Mutex mutex = new Mutex(); public void pass(String name, String address) { // 并非synchronized mutex.lock(); try ...
// 定义一个对象数组 var data = [{ name: "jiang", age: 22 }, { name: "AAAAAAAAAAAAAA", age: 21 }, { name: "CCCCCCCCc", age: 25}]; // 定义一个比较器 function compare(propertyName) { return function (object1, object2) { var value1 = object1[propertyName]; var value2 = object2[ ...
import java.io.File; import java.io.IOException; import java.io.InputStream; import java.util.UUID; //网页全屏截图 public final class WebPageFullPicture { private WebPageFullPicture() {}; public static void savePage(String url, String path) { if (!url.startsWith("http://")) { ...
Jquery弹出层,弹出框,jquery.jBox-2.3.min.js   http://www.kudystudio.com/
Jquery下来多选插件 jquery.multiselect.js   http://www.erichynds.com/jquery/jquery-ui-multiselect-widget/
分享一个Jquery的提示插件  jquery.poshytip.js   讲解地址: http://www.helloweba.com/view-blog-123.html
<result name="downLoad" type="stream"> <param name="contentType">${contentType}</param> <param name="contentLength">${fileSize}</param> <param name="inputName">inputS ...
public interface RegExpConst { /** * 手机号码 * 移动:134[0-8],135,136,137,138,139,150,151,157,158,159,182,187,188 * 联通:130,131,132,152,155,156,185,186 * 电信:133,1349,153,180,189 */ String MOBILE = "^1(3[0-9]|5[0-35-9]|8[025-9])\\d{8}$"; /** * 中国移动:China Mobile * 134[0-8] ...
地址:        http://blog.csdn.net/ji_ju/article/details/7349272
Global site tag (gtag.js) - Google Analytics