在server.xml 修改如下 <Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs/log" prefix="localhost_access_log" suffix=".log" pattern ...
分类:
其他好文 时间:
2017-09-25 16:07:19
阅读次数:
143
Intent intent = new Intent(Intent.ACTION_MAIN, null); intent.setPackage(getPackageName()); intent.addCategory(Intent.CATEGORY_SAMPLE_CODE); PackageMan... ...
分类:
移动开发 时间:
2017-09-24 13:40:32
阅读次数:
476
1 class classname(parameters){...} (parameters) private var 2 ...
分类:
其他好文 时间:
2017-09-24 09:49:28
阅读次数:
123
类上的注释: file->setting->Editor->Filr and Code Templates->Includes->File Header 之后在创建类时会自动添加注释。 方法上的注释: 1、file->setting->Editor->LiveTemplates点击右边上面那个绿色的 ...
分类:
其他好文 时间:
2017-09-24 02:46:07
阅读次数:
232
概述 从服务发现注解 一,spring-cloud-common包 针对服务发现,本jar包定义了 DiscoveryClient 接口 EnableDiscoveryClient注解 SpringFactoriesLoader调用loadFactoryNames其实加载META-INF/sprin ...
分类:
编程语言 时间:
2017-09-23 14:34:25
阅读次数:
922
1、js中注意问题 font-size 改成fontSize padding-top 改成paddingTop js中不认识-,所以要以小驼峰方式操作属性或者以[” ”]方式,例[”font-size ”] 2、js动态添加Class class 改成className 3、oInp.type = ...
分类:
Web程序 时间:
2017-09-22 21:07:28
阅读次数:
167
<?xml version='1.0' encoding='utf-8'?> <Server port="8007" shutdown="SHUTDOWN"> <Listener className="org.apache.catalina.startup.VersionLoggerListener ...
分类:
其他好文 时间:
2017-09-22 19:07:07
阅读次数:
173
一、--日志 <Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs" prefix="localhost_access_log" suffix=".txt" pattern="%h %l %u %t ...
分类:
其他好文 时间:
2017-09-21 21:03:09
阅读次数:
146
<body> <div id="app"> //msg是className+idName <h1>{{ msg }}</h1> //使用v-model关联实例数据中的className和idName className:<input type="text" v-model="className" p ...
分类:
其他好文 时间:
2017-09-21 20:51:27
阅读次数:
150
最近遇到的项目,发现很多元素,都没有标明id、text、content-desc,classname中又有很多是相同,导致无法定位 第一,appium1.5及之后的版本废弃了name属性(如name=账单,将不被支持用于定位),所以基本的定位就用下id就好了。其他的不多说了。 第二,下面就来说一下关 ...
分类:
移动开发 时间:
2017-09-21 19:18:59
阅读次数:
599