这一部分是jquery的核心jquery的构造器jquery的核心工具函数构造器jQuery = function( selector, context ) { // The jQuery object is actually just the init constructor 'enhanc...
分类:
Web程序 时间:
2014-07-10 13:24:06
阅读次数:
535
第一步:在XML中配置java信息,与自动检测配置XML一样:第二步:定义配置类第三步:声明bean和bean的注入:package com.springinaction.springidol;import org.springframework.context.annotation.Bean;im...
分类:
编程语言 时间:
2014-07-07 20:56:54
阅读次数:
309
源代码如下: 1 public class ReceiveHandler extends BroadcastReceiver{ 2 3 private final String ACTION_RECE_LinkReply="com.hutao.linkRequestReceive"; 4 ...
分类:
其他好文 时间:
2014-07-07 20:48:23
阅读次数:
324
前几天在网上下了个项目,感觉名字长,所以想把项目改名字。把项目导入到myeclipse中,将项目改名后, 还需要选中项目右键,properties ,修改项目的Context Root的名字。
分类:
编程语言 时间:
2014-07-07 20:15:05
阅读次数:
200
项目开发中经常会用到Wifi连接Wifi连接分两种情况有密码和无密码一下两种方法分别是连接有密码和无密码的方法经过小米2S和三星平板验证//连接有密码的Wifi privatevoidconnectToWifi(StringSSID,Stringkey){ WifiManagerwifi=(WifiManager)getSystemService(Context.WIFI_SERV..
分类:
其他好文 时间:
2014-06-28 00:13:28
阅读次数:
418
因项目需要,将springmvc和hbase整合,启动tomcat时报错如下:SEVERE: Exception sending context initialized event to listener instance of class org.springframework.web.conte...
分类:
编程语言 时间:
2014-06-27 20:20:46
阅读次数:
557
1,实现自定义TextView并实现isFocused()方法,代码如下: 1 public class RollTextView extends TextView{ 2 3 public RollTextView(Context context) { 4 super(co...
分类:
移动开发 时间:
2014-06-27 16:46:16
阅读次数:
265
array( 'method' => 'POST', 'header' => $header, 'content' => $content ) ); $context = stream_...
分类:
Web程序 时间:
2014-06-27 14:40:35
阅读次数:
225
网上很多要修改.class .project的比较麻烦有时候还不一定管用。下面的方法适合于项目用已经引用了jar,但是运行时却ClassNotFound,请用如下方法试试:
严重: Error configuring application listener of class org.springframework.web.context.ContextLoaderL...
分类:
编程语言 时间:
2014-06-26 14:25:32
阅读次数:
228
最近写程序的时候发现一个这样的问题,一个if判断如下:[php]if (!empty(trim($ch_url))) { ...}[/php]执行程序报出如下错误:[code]Fatal error: Can't use function return value in write context ...
分类:
其他好文 时间:
2014-06-26 11:15:31
阅读次数:
195