- 浏览: 11185 次
- 性别:
- 来自: GZ
-
最新评论
文章列表
Window 改变系统环境变量
- 博客分类:
- Java
rundll32.exe sysdm.cpl,EditEnvironmentVariables
getMethods
public Method[] getMethods() throws SecurityException
返回一个包含某些 Method 对象的数组,这些对象反映此 Class 对象所表示的类或接口(包括那些由该类或接口声明的以及从超类和超接口继承的那些的类或接口)的公共 member 方法。数组类返回从 Object 类继承的所有(公共)member 方法。
返回数组中的元素没有排序,也没有任何特定的顺序。
如果此 Class 对象表示没有公共成员方法的类或接口,或者表示一个基本类型或 void,则此方法返回长度为 0 的数组。
getDe ...
install mysql 5.7
- 博客分类:
- DataBase
Install mysql 5.7 in windows:
http://blog.csdn.net/dream_an/article/details/51058710
Java 8 Loop
- 博客分类:
- Java
Arrays.asList("peter", "anna", "mike").forEach(e -> System.out.println(e));
Arrays.asList("peter", "anna", "mike").forEach((String e) -> System.out.println(e));
Arrays.asList("peter", "anna", "mike").for ...
String[] a = {"3", "3", "10", "4", "2", "8"};
String[] b = {"10", "4", "12", "3", "23", "1", "8"};
List<String> aList = Arrays.asList(a);
List<String> bList = ...
1.
FacesContext.class.getPackage().getImplementationVersion();
FacesContext.class.getPackage().getImplementationVendor();
FacesContext.class.getPackage().getImplementationTitle();
2.
The exact JSF implementation version information is available in /META-INF/MANIFEST.MF file of the JSF implementation ...
http://www.bgjnkj.com/UploadFiles/201212291149240.pdf
git 学习
http://www.liaoxuefeng.com/wiki/0013739516305929606dd18361248578c67b8067c8c017b000
pharma nectar
brazil propolis
sea buckthorn oil capsules
打开文件夹
- 博客分类:
- Eclipse Plugin
https://github.com/samsonw/OpenExplorer
https://github.com/samsonw/OpenExplorer/downloads
For tomcat 7 add this to web.xml
<session-config>
<!-- Disables URL-based sessions (no more 'jsessionid' in the URL using Tomcat) -->
<tracking-mode>COOKIE</tracking-mode>
</session-config>
Spring MVC 重定向
- 博客分类:
- Spring
return "redirect:http://www.google.com.sg";
一台机器上同时部署多个tomcat服务
- 博客分类:
- Tomcat
如果现在一台机器上已经部署了一个tomcat服务,无论这个tomcat是否已经注册为服务了,或者没有注册windows服务,或者注册了,都没关系。都可以采用下面的方法实现。
如果该tomcat已经注册为windows服务了,从window的环境变量中找不到
CATALINA_HOME和CATALINA_BASE,也可以采用下面的方式实现。
当第一个tomcat启动后,后面tomcat的server.xml中的端口不管怎么改,仍然会报端口冲突。后来在dos下运行才发现所有的tomcat都会去找CATALINA_HOME和CATALINA_BASE这两个环境变量,因此步骤如下:
1.使用压 ...
今天在导入一批数据到Oracle时,碰到了一个问题:Toad提示要给一个自定义变量AMP赋值,一开始我很纳闷,数据是一系列的Insert语句,怎么会有自定义变量呢?后来搜索了一下关键字AMP发现,原来是因为在插入数据中有一个字段的内容如下:
http://mobile.three.com.hk/3DX?uid=0676&sid=rt_060908
Oracle把这里的URL的参数连接符&当成是一个自定义变量了,所以要求我给变量AMP赋值。怎么办呢?方法有三:
·方法一:在要插入的SQL语句前加上Set define off;与原SQL语句一起批量执行
...