tomcat 8 项目发布遇到的错 1 [ERROR] 2015-05-22 22:51:38,683 org.springframework.web.servlet.DispatcherServlet - Context initialization failed 2 org.spring...
分类:
编程语言 时间:
2015-05-22 16:56:06
阅读次数:
181
和3sum 相似 ,比3sum多一层循环。public class Solution { public ArrayList> fourSum(int[] nums, int target) { ArrayList> res = new ArrayList>(); i...
分类:
其他好文 时间:
2015-05-22 16:46:16
阅读次数:
134
perm gen我们在上2篇文章中知道,perm gen是个异类,里面存储了类和方法数据(与class loader有关)以及interned strings(字符串驻留)。在heap dump中没有包含太多的perm gen信息。那么我们就用这些少量的信息来解决问题吧。看下面的代码,利用inter...
分类:
系统相关 时间:
2015-05-22 16:34:34
阅读次数:
279
一、使用方法:1、在页面中引入ckeditor核心文件ckeditor.js2、在使用编辑器的地方插入HTML控件如果是ASP.NET环境,也可用服务器端控件注意在控件中加上 class="ckeditor" 。3、将相应的控件替换成编辑器代码4、配置编辑器 ckeditor的配置都集中在 cked...
分类:
其他好文 时间:
2015-05-22 16:33:56
阅读次数:
216
using System;using System.Collections.Generic;using System.Linq;using System.Text;using BarcodeLib;using System.IO;namespace Tool.Gui{ public class .....
Android provides the LocalBroadcastManager class in the support library v4. This is a helper class to register for and send broadcasts of Intents to l...
分类:
其他好文 时间:
2015-05-22 16:31:16
阅读次数:
125
和类同名无返回值 也不要加void void是返回空用于初始化Class Studentpublic Studet() {}//默认构造方法 就长这样,如果自己不写java自动给你加上(不可见)Student s = new Student();//Student()就是调用构造方法每次new一个对...
分类:
其他好文 时间:
2015-05-22 16:30:12
阅读次数:
138
一、界面:二、数据库访问类: 1 public class DataClass 2 { 3 private readonly string connect = ConfigurationManager.AppSettings["connectString"]; 4 ...
第一种 先获取元素通过 属性获取WebElement webElemt= webElement.findElement(By.xpath("//*[@class='xxxxxx]/a"));//在ie下使用innerText 在火狐下使用textContentString linktext = we...
分类:
其他好文 时间:
2015-05-22 16:26:01
阅读次数:
246
用他的父类接收,.class后仍能显示子类名称,这样从数组中遍历的对象我可以用.class获取他是哪个子类,并判断如何给他赋值...
分类:
移动开发 时间:
2015-05-22 15:18:41
阅读次数:
186