二月 20, 2017 11:30:28 上午 org.apache.tomcat.util.digester.SetPropertiesRule begin警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting pro ...
分类:
编程语言 时间:
2017-02-21 11:49:22
阅读次数:
373
目前测启动时间用得较多的方法: 1.am start -W 只获取activity的启动时间 -W:等目标Activity启动后才返回 -n:用于设置Intent的Component 2.高速相机 以真实的用户体验去获取应用的启动时间 第一种可能得不到我们想要的。 第二种过于依赖硬件设备 冷启动:这 ...
分类:
其他好文 时间:
2017-02-21 01:01:12
阅读次数:
133
正常运行的必备配置 userSyntax: user user [group];Default: user nobody nobody;Context: main指定运行worker进程的用户 和组。 pidSyntax: pid file;Default: pid nginx.pid;Contex... ...
分类:
其他好文 时间:
2017-02-20 07:39:07
阅读次数:
418
前言 俗话说做项目是让人成长最快的方案,最近小编写项目的时候遇到了一个小问题。小编在项目中所负责的后台系统,但是后台系统是通过系统的页面是通过ifame联动的,那么这时候问题就来了,后台所做的所有操作都是联动操作(都是基于所联动的)那么我后台所做的所有操作都是基于后台用户登录的情况下所做的。但是在联 ...
分类:
编程语言 时间:
2017-02-19 23:55:48
阅读次数:
483
注解(Annotation),也叫元数据。一种代码级别的说明。它是JDK1.5及以后版本引入的一个特性,与类、接口、枚举是在同一个层次。它可以声明在包、类、字段、方法、局部变量、方法参数等的前面,用来对这些元素进行说明,注释。 Emp实体类配置 Idcard实体类配置 hibernate.cfg.x ...
分类:
Web程序 时间:
2017-02-16 13:32:24
阅读次数:
212
在使用spring+springMVC的web工程中,我们一般会在web.xml中做如下配置: 这样就会产生两个spring容器,一个父容器,一个子容器。 父容器Root WebApplicationContext由ContextLoaderListener加载子容器WebApplicationCo ...
分类:
编程语言 时间:
2017-02-16 13:04:58
阅读次数:
481
当 Entity Framework Code First 的数据模型发生改变时,默认会引发一个System.InvalidOperationException 的异常。解决方法是使用DropCreateDatabaseAlways 或DropCreateDatabaseIfModelChanges ...
分类:
数据库 时间:
2017-02-16 11:09:25
阅读次数:
265
w HTTP The Definitive Guide Cookies can be used to track users as they make multiple transactions to a web site. E-commerce web sites use session cook ...
分类:
其他好文 时间:
2017-02-14 11:40:52
阅读次数:
172
1.下载axis2项目文件 http://axis.apache.org/axis2/java/core/download.html 2.Maven文件的pom.xml文件 3.将下载的axis2-1.7.4-war.zip下的axis2.war目录中WEB-INF文件夹里的 5.spring-co ...
分类:
其他好文 时间:
2017-02-13 16:28:12
阅读次数:
373
background:linear-gradient([position],color px......) 线性背景 还可以有一种写法: background:-webkit-linear-gradient(to [position],color px) 不推荐这种写法 demo如下: (效果如上) ...
分类:
其他好文 时间:
2017-02-13 08:47:32
阅读次数:
193